| Package | Description |
|---|---|
| net.md_5.bungee.api.event |
| Modifier and Type | Method and Description |
|---|---|
ServerKickEvent.Cause |
ServerKickEvent.getCause()
Circumstances which led to the kick.
|
static ServerKickEvent.Cause |
ServerKickEvent.Cause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerKickEvent.Cause[] |
ServerKickEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServerKickEvent.setCause(ServerKickEvent.Cause cause)
Circumstances which led to the kick.
|
| Constructor and Description |
|---|
ServerKickEvent(ProxiedPlayer player,
ServerInfo kickedFrom,
BaseComponent[] kickReasonComponent,
ServerInfo cancelServer,
ServerKickEvent.State state,
ServerKickEvent.Cause cause) |
Copyright © 2015–2020 WaterfallMC. All rights reserved.