Interface IPlayerConfigManagerAPI
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.switch toIPlayerConfigManagerAPIDeprecated.switch toIPlayerConfigManagerAPIDeprecated.switch toIPlayerConfigManagerAPIgetLoadedConfig(UUID id) Deprecated.switch toIPlayerConfigManagerAPIgetOptionForId(String id) Deprecated.switch toIPlayerConfigManagerAPIDeprecated.switch toIPlayerConfigManagerAPIDeprecated.switch toIPlayerConfigManagerAPI
-
Method Details
-
getLoadedConfig
Deprecated.switch toIPlayerConfigManagerAPIGets or creates the player config for the player with a specified UUID.
Gets the wilderness config if the specified UUID is null, the server claims config if the UUID is
PlayerConfig.SERVER_CLAIM_UUID, the expired claims config if the UUID isPlayerConfig.EXPIRED_CLAIM_UUID.- Parameters:
id- the UUID of the player, null for wilderness- Returns:
- the player config instance, not null
-
getDefaultConfig
Deprecated.switch toIPlayerConfigManagerAPIGets the default player config instance.
- Returns:
- the default player config instance, not null
-
getWildernessConfig
Deprecated.switch toIPlayerConfigManagerAPIGets the wilderness config instance.
- Returns:
- the wilderness config instance, not null
-
getServerClaimConfig
Deprecated.switch toIPlayerConfigManagerAPIGets the server claims config instance.
- Returns:
- the server claims config instance, not null
-
getExpiredClaimConfig
Deprecated.switch toIPlayerConfigManagerAPIGets the expired claims config instance.
- Returns:
- the expired claims config instance, not null
-
getAllOptionsStream
Deprecated.switch toIPlayerConfigManagerAPIGets a stream of all player config option types, including the dynamic ones.
- Returns:
- a stream of all player config options, not null
-
getOptionForId
Deprecated.switch toIPlayerConfigManagerAPIGets the option type specification with a specified string option id, including dynamic options.
Returns null if no such option exists.
- Parameters:
id- the option id, not null- Returns:
- the option type specification instance, null when doesn't exist
-
IPlayerConfigManagerAPI