Interface IPlayerConfigOptionSpecAPI<T extends Comparable<T>>
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIString[]Deprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIgetId()Deprecated.switch toIPlayerConfigOptionSpecAPIgetPath()Deprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIDeprecated.switch toIPlayerConfigOptionSpecAPIString[]Deprecated.switch toIPlayerConfigOptionSpecAPIgetType()Deprecated.switch toIPlayerConfigOptionSpecAPI
-
Method Details
-
getId
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the ID of this option.
Use
getPath()if you need it separated into elements.- Returns:
- the string ID, not null
-
getShortenedId
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the shortened ID of this option, without the "playerConfig." prefix.
- Returns:
- the shortened string ID, not null
-
getPath
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the path of this option, which is just the ID from
getId()but separated into elements.- Returns:
- the path, not null
-
getType
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the type of values that this option can have.
- Returns:
- the type of values, not null
-
getTranslation
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the translation key for the name of this option.
- Returns:
- the translation key, not null
-
getTranslationArgs
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the translation key arguments for the name of this option.
- Returns:
- the translation key arguments, not null
-
getCommentTranslation
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the translation key for the comment of this option.
- Returns:
- the comment translation key, not null
-
getCommentTranslationArgs
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the translation key arguments for the comment of this option.
- Returns:
- the comment translation key arguments, not null
-
getComment
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the default en_us comment for this option.
- Returns:
- the default comment, not null
-
getDefaultValue
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the default value that this option is set to in configs.
- Returns:
- the default value, not null
-
getClientSideValidator
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the client-side validator for potential values of this option.
- Returns:
- the client-side value validator, not null
-
getServerSideValidator
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the server-side validator for potential values of this option.
- Returns:
- the server-side value validator, not null
-
getTooltipPrefix
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the prefix applied to the tooltip of this option on the UI.
- Returns:
- the tooltip prefix, null if no prefix
-
getCommandInputParser
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the String->value parser of this option, mainly used for commands.
- Returns:
- the String->value parser, not null
-
getCommandOutputWriter
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the value->String converter of this option, mainly used for commands.
- Returns:
- the value->String converter, not null
-
getConfigTypeFilter
Deprecated.switch toIPlayerConfigOptionSpecAPIGets the config type filter of this option.
The filter allows this option to only appear and be configurable on some types of player configs (e.g. just the server claims config).
- Returns:
- the config type filter, not null
-
IPlayerConfigOptionSpecAPI