public class ServerKickEvent extends Event implements Cancellable
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerKickEvent.Cause |
static class |
ServerKickEvent.State |
| Constructor and Description |
|---|
ServerKickEvent(ProxiedPlayer player,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
ServerInfo kickedFrom,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state)
Deprecated.
|
ServerKickEvent(ProxiedPlayer player,
ServerInfo kickedFrom,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state,
ServerKickEvent.Cause cause) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKickReason()
Deprecated.
|
void |
setKickReason(java.lang.String reason)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled@Deprecated public ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer)
@Deprecated public ServerKickEvent(ProxiedPlayer player, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, ServerKickEvent.State state)
@Deprecated public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, ServerKickEvent.State state)
public ServerKickEvent(ProxiedPlayer player, ServerInfo kickedFrom, BaseComponent[] kickReasonComponent, ServerInfo cancelServer, ServerKickEvent.State state, ServerKickEvent.Cause cause)
Copyright © 2015-2018 WaterfallMC. All Rights Reserved.