Interface PlayerChangeClientSettingsEvent
- All Superinterfaces:
- Event
Fired when a 
player changes one or more of the following settings.
 - Locale
- View distance
- Chat visibility
- Chat colors
- Displayed skin parts
The event is fired before the player object is updated so it is possible to inspect the old settings.
- 
Method SummaryModifier and TypeMethodDescriptionGets the new chat visibility setting of the player.Gets the new skin part's displayed.booleanGets the new value for whether the player has colors enabled in chat.locale()Gets the new locale of the player.player()Gets theplayer.intGets the new view distance of the player.
- 
Method Details- 
playerServerPlayer player()Gets theplayer.- Returns:
- The player
 
- 
localeLocale locale()Gets the new locale of the player.- Returns:
- The locale
 
- 
viewDistanceint viewDistance()Gets the new view distance of the player. This value represents the radius in unit chunks.- Returns:
- The view distance
 
- 
chatVisibilityChatVisibility chatVisibility()Gets the new chat visibility setting of the player.- Returns:
- The chat visibility setting
 
- 
isChatColorsEnabledboolean isChatColorsEnabled()Gets the new value for whether the player has colors enabled in chat.- Returns:
- True if colors are enabled in chat
 
- 
displayedSkinPartsGets the new skin part's displayed.- Returns:
- The displayed skin parts
 
 
-