Installation is very straightforward.
If you have access to the underlying system and are able to setup firewall rules using iptables (or otherwise), I strongly recommend you do so. Then, install BungeeGuard as well.
The latest versions of BungeeGuard can be found from:
- Ensure
ip_forward
is set totrue
in BungeeCord'sconfig.yml
. - Add
BungeeGuard.jar
to the plugins folder. Then restart the proxy. If you have multiple proxies in your network, do this for each of them. - Navigate to
/plugins/BungeeGuard/token.yml
and make a note of the token.
- Ensure you are using Velocity 1.1.0 or newer. (There is no need to install
BungeeGuard.jar
- it is built into Velocity already!) - Set
player-info-forwarding-mode
to"bungeeguard"
invelocity.toml
, and make note of theforwarding-secret
. This is the value used for the BungeeGuard token. If you have multiple proxies in your network, do this for each of them. - Restart the proxy.
- Ensure you are either using Paper 1.9.4+ or have ProtocolLib installed.
- Ensure the
bungeecord
setting is set totrue
inspigot.yml
. - Add
BungeeGuard.jar
to the plugins folder. Then restart the server. - Navigate to
/plugins/BungeeGuard/config.yml
. Add the token(s) generated by the proxy(ies) to theallowed-tokens
list.e.g.
# Allowed authentication tokens. allowed-tokens: - "AUSXEwebkOGVnbihJM8gBS0QUutDzvIG009xoAfo1Huba9pGvhfjrA21r8dWVsa8"
Please make sure you remove the default tokens, so the only values in the list are your allowed tokens.
- Run
bungeeguard reload
from console.