StringSetting
A setting that has a String as value
new StringSetting(String name, String description, String default, int maxChars)
new StringSetting(String name, String description, String default, int maxChars)creates a new StringSetting please check Registering a new setting for how to correctly register this.
getValue(): String
getValue(): StringReturns the current value of the setting.
setValue(String value): void
setValue(String value): voidSets the value of the setting.
getName(): String
getName(): StringGives the name of the setting.
getDescription(): String
getDescription(): StringReturns the description of the setting.
setHidden(boolean hidden): void
setHidden(boolean hidden): voidAllows 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): voidAllows you to hide a setting from the menu.
Last updated