BooleanSetting
A setting with a boolean as value
new BooleanSetting(String name, String description, boolean default)
new BooleanSetting(String name, String description, boolean default)
getValue(): boolean
getValue(): boolean
Returns the current value of the setting.
setValue(boolean value): void
setValue(boolean value): void
Sets the value of the setting.
getName(): String
getName(): String
Gives the name of the setting.
getDescription(): String
getDescription(): String
Returns the description of the setting.
setHidden(boolean hidden): void
setHidden(boolean hidden): void
Allows you to hide a setting from the menu.
setHidden()
only works on settings that have been initiated by scripts in the first place!
isHidden(boolean hidden): void
isHidden(boolean hidden): void
Allows you to hide a setting from the menu.
Last updated