Package | Description |
---|---|
net.md_5.bungee.api.event | |
net.md_5.bungee.api.plugin |
Modifier and Type | Class and 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 |
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 pinged with packet 0xFE 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 |
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.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
PluginManager.callEvent(T event)
Dispatch an event to all subscribed listeners and return the event once
it has been handled by these listeners.
|
Copyright © 2012–2020 SpigotMC. All rights reserved.