BungeeCord
Learn how to use Turf Wars on a BungeeCord network
Last updated
Learn how to use Turf Wars on a BungeeCord network
Last updated
Turf Wars has an optional BungeeCord support in case you're running a server dedicated to the game, which is a common practice in server networks.
Separating your servers allow for less conflicts between plugins. 512MB of RAM per server is usually enough to run flawlessly, especially with forks like .
Configuration for BungeeCord is located in the config.yml
file.
For using the BungeeCord mode, simply go to the config.yml
file, and set enabled
to true
:
When the BungeeCord mode is enabled, several features are available, including auto-joining the game when joining the server, an optional restart system, and a "go back to hub" item.
To enable it, simply set enabled
to true
.
When enabled, the server will restart after max-games
games have been played.
send-to-server
allows use to send players to random servers (e.g., hubs, lobbies) before restarting.
Note that this restart system should not be necessary on most servers. Some servers with heavy load and high player count might need this if servers tend to accumulate memory over time.
Similarly, first set enabled
to true
.
This will give players in the waiting lobby for the game an item that, when clicked, sends them to a random server.
The hubs
list defines which servers players are sent to when clicking the item. If several servers are set, a server is randomly selected for each item usage.
id
, display-name
, and lore
are the item details. As shown, they support coloring with &
. for the color codes.