mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Added new items for 1.4.6
Fix permission for other help command (why are there two?) - Made registerhelp read from yaml (not that the setting does anything) Added an option to override data value limits. - This should fix some mods which use data values above 16 - May cause issues if set to true and people mess with vanilla data values
This commit is contained in:
@ -73,7 +73,7 @@ public class YAMLConfiguration extends LocalConfiguration {
|
||||
"limits.max-super-pickaxe-size", maxSuperPickaxeSize));
|
||||
butcherDefaultRadius = Math.max(-1, config.getInt("limits.butcher-radius.default", butcherDefaultRadius));
|
||||
butcherMaxRadius = Math.max(-1, config.getInt("limits.butcher-radius.maximum", butcherMaxRadius));
|
||||
registerHelp = true;
|
||||
registerHelp = config.getBoolean("register-help");
|
||||
logCommands = config.getBoolean("logging.log-commands", logCommands);
|
||||
superPickaxeDrop = config.getBoolean("super-pickaxe.drop-items",
|
||||
superPickaxeDrop);
|
||||
@ -97,6 +97,8 @@ public class YAMLConfiguration extends LocalConfiguration {
|
||||
|
||||
allowedDataCycleBlocks = new HashSet<Integer>(config.getIntList("limits.allowed-data-cycle-blocks", null));
|
||||
|
||||
allowExtraDataValues = config.getBoolean("limits.allow-extra-data-values", false);
|
||||
|
||||
LocalSession.MAX_HISTORY_SIZE = Math.max(0, config.getInt("history.size", 15));
|
||||
LocalSession.EXPIRATION_GRACE = config.getInt("history.expiration", 10) * 60 * 1000;
|
||||
|
||||
|
Reference in New Issue
Block a user