How to setup a BungeeCord Network

If you’re not already familiar BungeeCord is a server proxy that allows you to connect multiple servers together to form a network, so by this basis you’ll need three servers to be effective; one 1GB server to run as the BungeeCord proxy itself (needs to be restored and clean), and two other servers you want to tether (It’s possible to just run one other server but that’s a bit pointless).

Step 1: Actually get BungeeCord on your server

Before we can hope of getting your network up, you’ll of course need to get the jar on your server first. You’ll need to grab the most recent version of BungeeCord here. You then need to upload the jar to the root of your server (The root is your files base, which shows up as / on your FTP client or /home/container on the Dino Panel File Management), you can do this by either using the Dino Panel File Management area or using SFTP (We have made a nifty guide here on using SFTP). Once you’ve uploaded the BungeeCord.jar to the root of your server, you’ll need to head over to the Startup Parameters at the bottom left of the Dino Panel on the navigation bar under Configuration. Once you’re there, change the Server Jar File parameter to BungeeCord.jar and then hit Update Startup Parameters.

Step 2: Setup the BungeeCord Proxy

Congratulations, you have BungeeCord on your server! However the jobs not finished yet, we still need to configure it. Head to the main dashboard on the Dino Panel and start the server, once it says "Listening on /0.0.0.0:25577 " stop the server again. The configuration you need to edit should now be generated in the root of your server, head back over to the Dino Panel File Management and click on the config.yml file that should have appeared in your root, you should now be taken to a page where you can edit the contents. It should look a little something like this:


This config may look confusing, but don’t panic! I’ll step you through the configuration changes you NEED to make to get a working proxy, feel free to experiment later to see what each does if you’re feeling risky:

  • Set “ip_forward” on line 38 from false to true
  • Set “host” under “listeners” on line 34 to your BungeeCord server IP (Include the port at the end, so it looks something like 251.512.125.622:25565)
  • If you want to set a MOTD for your network head over to the “motd” under “listeners” on line 24 and change it to how you want.
  • Under “servers” on line 17, you’ll see an already made template called “lobby”, copy and paste this for the amount of servers you want to connect excluding the BungeeCord, change the name of each of them (the bit that says lobby:) to whatever you want, and change the “address” on each server to each servers IP (again including the port at the end). Ignore the “motd” and “restricted” variables of each server at the moment, they’re not important. You should end up with something like this:
    image
    Go to “listeners” and then “priorities”, edit this value to the server you want users to connect to by default (Using the name you set when making the servers on the last step). Then head to “force_default_server” under “listeners” again, then set it from false to true. It should again look something like this:
    image
    Congratulations! You’ve managed to setup BungeeCord on your proxy server. Hit Save File at the bottom right of the file editor, however the jobs not finished yet.

Step 3: Setup your other servers

You’ll need to change some files on your other servers to make sure they run with BungeeCord. First make sure your other servers are running either Paper or Spigot (if you aren’t running either you can install them by heading to the Advanced section at the bottom left of the Dino Navigation Bar, selecting the edition and version you would like then hitting Install Edition) and that they have fully booted at least once to allow the configuration files to generate. You then need to complete the following on each server you are connecting excluding the BungeeCord :

Head to the Dino File Management again, and enter the server.properties file in your servers root, set “online-mode” on line 41 from true to false, hit Save File and then Return to File Manager at the top right of the editor. Now go into the spigot.yml file in your server root, set “bungeecord” under “settings” on line 17 from false to true, again Save File.

Once this has been done on all servers go ahead and restart them all, you have finished setting up your BungeeCord network, now you can use the BungeeCord Proxy’s IP to connect to your network! If you need further help feel free to ask in #minecraft-support on the Crident Discord!

NOTE: This is the basic setup for BungeeCord, I recommend you look into and experiment further to make it to your liking, the line numbers specified are correct at the time of making this article, if they are now incorrect poke me (Sky#7417) over Discord and I will update them.

1 Like