Package net.md_5.bungee.api.event
Class ServerDisconnectEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
net.md_5.bungee.api.event.ServerDisconnectEvent
Called when the player is disconnected from a server, for example during
server switching.
If the player is kicked from a server,
ServerKickEvent
will be called
instead.-
Constructor Summary
ConstructorDescriptionServerDisconnectEvent
(@NonNull ProxiedPlayer player, @NonNull ServerInfo target) -
Method Summary
-
Constructor Details
-
ServerDisconnectEvent
public ServerDisconnectEvent(@NonNull @NonNull ProxiedPlayer player, @NonNull @NonNull ServerInfo target)
-
-
Method Details