How to setup and secure a BungeeCord network

First, lets explain what a BungeeCord network is:

BungeeCord networks normally have at least 4 servers, you can add as many servers as you want:

  1. Proxy - This is the main connection point
  2. Hub - This is the server that players first connect to
  3. Server 1 - This would be the first server that players will be playing on - example would be: Survival Server
  4. Server 2 - This would be the second server that players will be playing on - example would be: Games Server

The reason you would want a BungeeCord over just adding extra worlds to a single server, is that Minecraft runs on a single thread, so adding worlds to a single server will force all worlds into a single thread, causing lag.  A BungeeCord network will spread this across multiple threads, causing the server to run much smoother, as well give as the ability to stop and start servers at separate times, making it so the network is playable during restarts.

Follow these steps to set up your BungeeCord network:

1. Set the proxy to: BungeeCord Latest

2. Save and Restart the server

3. In the BungeeCord config.yml, change ip_forward: false to ip_forward: true 

4. Add your servers to the BungeeCord config.yml

4-1. Find the section that loooks like this:

servers:
  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25565
    restricted: false

4-2. Coppy from "lobby" to "restricted: false" and paste it directly below "restricted: false" for each server, be sure to keep the formatting.

Example:

  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25565
    restricted: false
  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25565
    restricted: false
  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25565
    restricted: false

4-3. Change the address and name for each server.

Example:

  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: 123.123.123123:25565
    restricted: false
  creative:
    motd: '&1Just another BungeeCord - Forced Host'
    address: 123.123.123.124:25565
    restricted: false
  vanilla:
    motd: '&1Just another BungeeCord - Forced Host'
    address: 123.123.123.125:25565
    restricted: false

5. Restart your proxy

6. Set the rest of your servers to Spigot

7. Edit the following config file settings on all Spigot servers:

  • In the bukkit.yml, change connection-throttle: 4000 to connection-throttle: -1
  • In the server.properties, change online-mode=true to online-mode=false
  • In the spigot.yml, change bungeecord: false to bungeecord: true

8. Secure your Network by adding a plugin that disallows connection from anywhere except your proxy.

This plugin works by securing your network with a token sent from the proxy:

https://www.spigotmc.org/resources/bungeeguard.79601/

  • Install the plugin on both your proxy and each server connected through the proxy.
  • Restart the proxy and all servers to generate the config files.
  • Navigate to Server_BungeeCord/plugins/BungeeGuard/config.yml in the proxy and take note of the value of token.
  • Navigate to Server_Spigot/plugins/BungeeGuard/config.yml and add the token to the allowed-tokens list.
  • Restart all servers, or run bungeeguard reload from the console of all servers.
  • 31 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change how many players can connect to my server?

By default the player slots are set by the amount of RAM your server has.The reason this is set...

How much RAM do I need for my server?

The amount of RAM a server should have available has been a hot topic since multiplayer first...

How to add an additional user to your Multicraft control panel

If you would like to give another person access to your multicraft console do NOT give them your...

How to OP yourself on your Minecraft Server (Multicraft)

1. log into your Multicraft control panel, and select your Minecraft server2. On the left hand...

How to Enable Command Blocks on a Minecraft Server (Multicraft)

Method 1 (Multicraft Config Files):  1.  Log into Multicraft Control Panel  2. On the left hand...

Powered by WHMCompleteSolution