BungeeCord
Learn how to use Turf Wars on a BungeeCord network
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 PaperMC.
Configuration for BungeeCord is located in the config.yml
file.
Usage
For using the BungeeCord mode, simply go to the config.yml
file, and set enabled
to true
:
Features
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.
Restart System
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.
Go Back to Hub Item
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.
id
, display-name
, and lore
are the item details. As shown, they support coloring with &
. See this website for the color codes.
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.
Last updated