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 proxys IP Address.

One plugin you can use is OnlyProxy:

https://www.spigotmc.org/resources/onlyproxy.13613/

OnlyProxy requires SpigotLib:

https://www.spigotmc.org/resources/spigotlib.5925/

9. After installing these plugins on all servers except the proxy, restart your servers and change 127.0.0.1:25565 to your proxys IP and Port in the plugins/OnlyProxy/config.yml and restart them one more time.

  • bungeecord, how to setup bungeecord, bungeecord minecraft setup, setup bungee cord, setup minecraft bungeecord server, minecraft bungeecord help, prevent other servers from connecting to my bungeecord
  • 29 Users Found This Useful
Was this answer helpful?

Related Articles

A server is already running on that port

The error "a server is already running on that port"This error is cause by minecraft not sutting...

Cannot connect to my server "authentication servers are down"

Cannot connect "authentication servers are down" This is normally cause by mojang being down or...

How do I setup a subdomain

First we need to understand what Dedicated IPs, subdomains and SRV Reccords are: We offer...

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...

I need help with a plugin

Getting help with a pluginThe first step to getting help with a plugin is to check the plugins...

Powered by WHMCompleteSolution