PlayerEvents
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class PlayerQuitEvent(player: ServerPlayer, val reason: Component) : PlayerEvents.PlayerEvent<ServerPlayer>
Properties
Link copied to clipboard
Called after a player has received all login information from the server.
Link copied to clipboard
Called before a player receives the login packet from the server.
Link copied to clipboard
Called before a player leaves the server. Will only be called when a player who was fully in-game leaves the server.
Link copied to clipboard
Called when a player disconnects in the configuration phase. This is the phase between login and actual game join.
Link copied to clipboard
Called when a player disconnects during the login process.