McPlayer
Represents a Minecraft player.
This interface is intended for use in the common module.
For proxy, consider using su.plo.slib.api.proxy.player.McProxyPlayer.
For server, consider using su.plo.slib.api.server.entity.player.McServerPlayer.
Properties
Functions
Link copied to clipboard
Gets the server's implementation instance for this player.
Link copied to clipboard
Gets the tristate of a specific permission.
Link copied to clipboard
Checks if the holder has a specific permission.
Link copied to clipboard
Kicks the player from the server with the specified reason.
Link copied to clipboard
Sends an action bar message to the chat holder.
Link copied to clipboard
Sends a chat message to the chat holder.
Link copied to clipboard
Sends a custom packet to the player to the specified channel.