# Uses of Class
net.md_5.bungee.api.plugin.Event

Packages that use Event
Package
Description
net.md_5.bungee.api.event
net.md_5.bungee.api.plugin

- ## Uses of Event in net.md_5.bungee.api.event

  Subclasses of Event in net.md_5.bungee.api.event
  Modifier and Type
  Class
  Description
  `class`
  `AsyncEvent<T>`
  Represents an event which depends on the result of asynchronous operations.
  `class`
  `ChatEvent`
  Event called when a player sends a message to a server.
  `class`
  `ClientConnectEvent`
  Event called to represent an initial client connection.
  `class`
  `CustomClickEvent`
  Called after a `ProxiedPlayer` runs a custom action from a chat event or form submission.
  `class`
  `LoginEvent`
  Event called to represent a player logging in.
  `class`
  `PermissionCheckEvent`
  Called when the permission of a CommandSender is checked.
  `class`
  `PlayerDisconnectEvent`
  Called when a player has left the proxy, it is not safe to call any methods that perform an action on the passed player instance.
  `class`
  `PlayerHandshakeEvent`
  Event called to represent a player first making their presence and username known.
  `class`
  `PluginMessageEvent`
  Event called when a plugin message is sent to the client or server.
  `class`
  `PostLoginEvent`
  Event called as soon as a connection has a `ProxiedPlayer` and is ready to be connected to a server.
  `class`
  `PreLoginEvent`
  Event called to represent a player first making their presence and username known.
  `class`
  `ProxyPingEvent`
  Called when the proxy is queried for status from the server list.
  `class`
  `ProxyReloadEvent`
  Called when somebody reloads BungeeCord
  `class`
  `ServerConnectedEvent`
  Not to be confused with `ServerConnectEvent`, this event is called once a connection to a server is fully operational, and is about to hand over control of the session to the player.
  `class`
  `ServerConnectEvent`
  Called when deciding to connect to a server.
  `class`
  `ServerDisconnectEvent`
  Called when the player is disconnected from a server, for example during server switching.
  `class`
  `ServerKickEvent`
  Represents a player getting kicked from a server.
  `class`
  `ServerSwitchEvent`
  Called when a player has changed servers.
  `class`
  `SettingsChangedEvent`
  Called after a `ProxiedPlayer` changed one or more of the following (client-side) settings: View distance Locale Displayed skin parts Chat visibility Chat colors Main hand side (left or right)
  `class`
  `TabCompleteEvent`
  Event called when a player uses tab completion.
  `class`
  `TabCompleteResponseEvent`
  Event called when a backend server sends a response to a player asking to tab-complete a chat message or command.
  `class`
  `TargetedEvent`
  An event which occurs in the communication between two nodes.

- ## Uses of Event in net.md_5.bungee.api.plugin

  Methods in net.md_5.bungee.api.plugin with type parameters of type Event
  Modifier and Type
  Method
  Description
  `<T extends Event>
  T`
  PluginManager.`callEvent(T event)`
  Dispatch an event to all subscribed listeners and return the event once it has been handled by these listeners.