PlayerSettings

interface PlayerSettings

The settings for a player indicated by the client.

Properties

Link copied to clipboard
@get:JvmName(name = "allowsServerListing")
abstract val allowsServerListing: Boolean

If the player allows appearing in the player sample on the server status.

Link copied to clipboard
@get:JvmName(name = "chatVisibility")
abstract val chatVisibility: ChatVisibility

The chat visibility of the player.

Link copied to clipboard
@get:JvmName(name = "hasChatColors")
abstract val hasChatColors: Boolean

If the player accepts colours in chat messages.

Link copied to clipboard
@get:JvmName(name = "locale")
abstract val locale: Locale?

The locale of the player.

Link copied to clipboard
@get:JvmName(name = "mainHand")
abstract val mainHand: MainHand

The primary hand of the player.

Link copied to clipboard
@get:JvmName(name = "skinParts")
abstract val skinParts: SkinParts

The skin parts that the player has shown.

Link copied to clipboard
@get:JvmName(name = "viewDistance")
abstract val viewDistance: Int

The amount of chunks that the player will see in front of them, excluding the chunk the player is in.