Package net.md_5.bungee.api.event
Class ServerSwitchEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.md_5.bungee.api.event.ServerSwitchEvent
Called when a player has changed servers.
-
Constructor Summary
ConstructorsConstructorDescriptionServerSwitchEvent(ProxiedPlayer player, ServerInfo from) Creates a newServerSwitchEventinstance. -
Method Summary
-
Constructor Details
-
ServerSwitchEvent
Creates a newServerSwitchEventinstance.- Parameters:
player- Player whom the server is for.from- Server the player is switch from. May be null if initial proxy connection.
-
-
Method Details