How to Secure Your BungeeCord Server with BungeeGuard
Published on July 30, 2026
Backend servers within a BungeeCord network use online-mode=false. Without additional security, players can try to connect directly to these servers. This allows them to bypass the proxy and its security checks and impersonate another player, which could allow them to gain operator permissions. BungeeGuard prevents this by using a secret token known only to the proxy and the connected backend servers.
Installing BungeeGuard on the BungeeCord Server
- Download the latest version of BungeeGuard.
- Log in to the game panel and go to the BungeeCord server.
- Open the Files page and then the
pluginsfolder. - Upload the .jar file for BungeeGuard.
- Restart the server and wait until it has fully started.
- Open the
pluginsfolder and then theBungeeGuardfolder. - Open
token.ymland copy the value aftertoken:.
Note Never share this token with anyone. Anyone with this token can bypass the security.
Installing BungeeGuard on the Backend Servers
Note Are you using Paper 1.9.4 or newer, or server software based on Paper, such as Purpur? You can install BungeeGuard directly. Are you using Spigot? Install ProtocolLib as a plugin first.
- Go to the first backend server in the game panel.
- Open the Files page and then the
pluginsfolder. - Upload the same .jar file for BungeeGuard.
- Restart the server and wait until it has fully started.
- Open the
pluginsfolder, then theBungeeGuardfolder and finally theconfig.ymlfile. - Remove the example tokens under
allowed-tokens:. - Add the token from
token.yml. Start the line with two spaces, a hyphen and a space, for example- "ENTER_YOUR_TOKEN_HERE". - Save the file and restart the Minecraft server.
- Repeat these steps for all remaining backend servers.
Testing BungeeGuard
First, connect using the IP address of the BungeeCord server. Can you join normally and switch between the backend servers? Then try to connect directly using the IP address of a backend server.
If the direct connection is rejected, but connecting through BungeeCord works, BungeeGuard has been configured correctly.