Add option to disable commands

This commit is contained in:
Jesse Boyd
2019-04-12 10:51:18 +10:00
parent 4632f0d4f3
commit 99c4c2f35d
2 changed files with 68 additions and 58 deletions

View File

@ -69,6 +69,13 @@ public class Settings extends Config {
public PATHS PATHS;
@Create
public REGION_RESTRICTIONS_OPTIONS REGION_RESTRICTIONS_OPTIONS;
@Create
public ENABLED_COMPONENTS ENABLED_COMPONENTS;
@Comment("Enable or disable core components")
public static final class ENABLED_COMPONENTS {
public boolean COMMANDS = true;
}
@Comment("Paths for various directories")
public static final class PATHS {