# Uses of Enum
net.md_5.bungee.api.event.ServerKickEvent.State

Packages that use ServerKickEvent.State
Package
Description
net.md_5.bungee.api.event

- ## Uses of ServerKickEvent.State in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event that return ServerKickEvent.State
  Modifier and Type
  Method
  Description
  `ServerKickEvent.State`
  ServerKickEvent.`getState()`
  State in which the kick occured.
  `static ServerKickEvent.State`
  ServerKickEvent.State.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ServerKickEvent.State[]`
  ServerKickEvent.State.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in net.md_5.bungee.api.event with parameters of type ServerKickEvent.State
  Modifier and Type
  Method
  Description
  `void`
  ServerKickEvent.`setState(ServerKickEvent.State state)`
  State in which the kick occured.
  Constructors in net.md_5.bungee.api.event with parameters of type ServerKickEvent.State
  Modifier
  Constructor
  Description
  ``
  `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 reason, ServerInfo cancelServer, ServerKickEvent.State state)`