How to Prevent Players from Being Kicked When Shutting Down a Server?
Want to ensure players aren’t kicked from the network when a server shuts down? It’s simple! With Goxy, you can configure the system to transfer them to another server instead of interrupting gameplay. Follow the step-by-step guide below to set it up.
Easiest Method: Using
#!{VOID}
Add to the Kick Message a Special Tag
#!{VOID}
For Goxy, this is an instruction to transfer the player back to the First Choice Server instead of kicking them.
settings:
shutdown-message: "Serwer został wyłączony#!{VOID}" # Remember to add quotation marks "", otherwise characters after # will be treated as a comment.
More Control: Transferring to Any Server
Want more control over which server players are transferred to? You have several options!
Option 1: Plugin with Goxy API
You can create your own plugin to transfer players to the appropriate server before shutdown. Goxy makes it easy to transfer a player to the server they were previously on with just a few lines of code using our API:
Player bukkitPlayer;
GoxyPlayer player = GoxyApi.getPlayerStorage().getPlayer(bukkitPlayer.getUniqueId());
GoxyServer server = player.getPreviousServer();
if (server != null) {
player.connect(server);
}
Option 2: /send Command
The /send command offers great flexibility! You can use it to transfer all players to any server before shutdown. Example:
/send * server_name
/send * lobby.Additional Notes
📎 Links and Resources
| Resource | Link |
|---|---|
| Goxy Homepage | goxy.io |
| Admin Panel | dashboard.goxy.io |
| Status Page | status.goxy.io |
| Discord Community | Join Discord |
| Awesome Goxy List | View list |
| API Documentation | API Docs |
We respond to all messages within 24 hours on Discord.
🎉 Configure Server Shutdown and Enjoy Gaming!
Join Goxy and unlock more possibilities!
REGISTER FOR FREE