EVENTS

Player has connected to the proxy server

Triggered when a player connects to the proxy but has not yet joined any server.

on player (join|connect)[(ed|s)] [to] proxy [server]

This event provides built-in data, allowing you to retrieve the connected player as an OfflinePlayer using event-player.

Player disconnects from the proxy server

on player (leave|disconnect)[(ed|s)] [from] proxy [server]

This event provides built-in data, allowing you to retrieve the connected player as an OfflinePlayer using event-player.

Current server connects to the proxy

Called after the server has been connected to the proxy.

on connect(ed|s) [to] proxy [server]
on proxy connect

Current server disconnects from the proxy

Called after the server has disconnected from the proxy.

on disconnect(ed|s) [from] proxy [server]
on proxy disconnect

Attempt to reconnect to the proxy

Called when the server attempts to reconnect to the proxy.

on reconnect(ing|s) [to] proxy [server]
on proxy reconnect

The server has connected to the proxy

Called after any server has connected to the proxy

on server connect(ed|s) [to] proxy [server]

The event has built-in data, using the event-server you can get a connected server

The server was disconnected from the proxy

Called after any server has disconnected from the proxy

on server disconnect(ed|s) [from] proxy [server]

The event has embedded data, using the event-server you can get a disconnected server

The player has connected to the back-end server

It is called after the player is connected to the back-end server, which is connected to the proxy.

on player (join|connect)[(ed|s)] [to] (proxied|network) server

The expression below allows you to track connections only to a specific server by its name.

on player (join|connect)[(ed|s)] [to] (proxied|network) server %string%

The event contains embedded data, such as event-server, which allows you to get the server the player is connected to, and event-player, which allows you to get the player in the form of an OfflinePlayer.

The player disconnected from the back-end server

It is called after the player disconnects from the back-end server that is connected to the proxy.

on player (leave|disconnect[e])[(d|s)] [from] (proxied|network) server

The expression below allows you to track disconnections only from a specific server by its name.

on player (leave|disconnect[e])[(d|s)] [from] (proxied|network) server %string%

The event has built-in data, using the event-server you can get the server of the player from which they left, and using the event-player you can get the player in the form of an OfflinePlayer