Dynamic servers
Dynamic servers are something new in BungeeSK (2.0.0). You will learn here how to use them aswell.
What's a dynamic server ?
A dynamic bungee server is a server on your network that you can add or remove. The Spigot server behind has to be already setup and started for your players to connect to it. They are only stored in the proxy's memory, which means that if the Bungeecord server restarts, all dynamic servers will be deleted.
Creating a dynamic bungee server
You can create a dynamic server like this, here we are taking an example for a second lobby for a network:
After running this code above, you can get informations from this server like any other server. You can for example get its related bungeeserver
object with its name provided above, like this:
Deleting a dynamic server
To delete a dynamic bungee server, just restart you Bungeecord proxy. If you want to delete a specific one manually, you can do something like this:
Last updated
Was this helpful?