RedisBungee - How to connect several proxies (BungeeCord) ?

Discussion in 'BungeeCord Help' started by SpaceFire, Apr 21, 2017.

  1. Good evening, I post this discussion with the aim of knowing how works the connection between several proxy ( Bungee) and not just the connection between several servers minecraft. By having creating my own servers connected by BungeeCord in premises, I installed the plugin RedisBungee to make communicate my 2 proxies between them. But I do not on one hand manage to configure this plugin and on the other hand I do not know how it is necessary to make to connec a Redis server with the plugin RedisBungee.

    Description of my installation:

    - 1st Bungee: redisbungee (installed in plugins)
    - Lobby
    - Server1
    - 2eme Bungee: redisbungee (installed in plugins)
    - Lobby2
    - Server2

    If you know about it in this domain, do not hesitate to give me advice because I do not find concrete solutions
  2. I think you are not using the real 'BungeeCord' Redisbungee is remake i think i dont know what it is..

    But this are the installation for BungeeCord:
    (Its the [tut] for sorry ;)
    What is Bungeecord?
    Bungeecord is a software that you install on your game servers that let’s players easily travel between different game servers. This is great if you have a big network of servers and don’t want to lose any players or let them join a different server without disconnecting and reconnecting.

    How does it work?
    You have 1 server that acts as the main server. This is also called Proxy and the rest of the game servers are called Nodes, where you actually play the game on.

    So, basically one server is only used for teleportation and can not be played on. The rest of your nodes are game servers with whatever game style you want on them, e.g. Survival, MiniGames, Creative etc.

    The general command to change server ingame is /server. More on this later in the tutorial.

    A lot of big gaming networks use a Hub server where they put portals to other game servers. This is completely optional but can improve the experience for your gamers. This tutorial covers that as well.

    BungeeCord demands at least two game servers running and ready to be configured, but three or more is recommended. You will understand why in a second.

    First of all, BungeeCord needs one server for just traffic directional usage. That means, a whole server is used only to send players back and forth between your network. This server can not be joined and not played on, thus it’s purpose is only teleportation. This server is called Proxy.

    Secondly, it is also highly recommended to use one server as a Hub server. This means that this server only contains portals to your other game servers.

    So for example if a player joins your server network, he will be able to go through nether portals to join your Survival, Mini Games, Creative or any other server connected to your network from the Hub server. This is convenient as the Hub acts as a lobby server where the player can choose what type of server he wants to join basically. The rest of the servers are actual game servers that your users can play on.

    In this tutorial we will create 4 different servers and link them together.

    The four servers will be the following:

    • Server 1 - BungeeCord Proxy - - (Required)
      This server runs BungeeCord and can not be used for gaming. It just sends around players.
    • Server 2 - Hub Server - (Optional)
      This server will act as a lobby and contain portals to your other servers. Can be joined but primarily not used for gaming.
    • Server 3 - MiniGames server -
      This is your first game server and in this example we call it a MiniGames server but it can be anything of choice obviously.
    • Server 4 - Creative Server -
      This is your second game server and in this example we chose a creative server
    The IP-addresses and ports are just examples and looks different depending on the host you use.
    1) Start a server with Spigot
    BungeeCord needs an existing version of Spigot to run on your game server. Most hosting sites, including, offers this as default. Choose the latest version available.

    2) Download BungeeCord
    Download Bungeecord from this link: Download here

    Click on BungeeCord.jar

    The file will now start downloading.

    3) Upload BungeeCord on all your game servers
    Now upload the file to your root directory on your game server (the home directory of your FTP or where you find the spigot.jar file)

    After your have uploaded the file it should something like this on your server:

    You should now see the BungeeCord.jar file among your files in your home directory.

    4) Install BungeeCord on the server
    After you have uploaded the file you now have to tell the server to run the BungeeCord.jar file in order to generate all the necessary config files.

    On you choose a custom .jar file this way:

    Go to your control panel, and click on the “JAR File” dropdown and choose “BungeeCord.jar”

    After that, restart the server and the server will start downloading new files that you need to configure in the next step.

    Among those files you should see a file called config.yml that has been created and that we are going to configure in the next step.

    5) Configure the BungeeCord Proxy (Teleportation server)
    In this you need to configure BungeeCord to be able to receive connections and send players to your different game servers.

    For the proxy server, at least 1000 MB of memory is recommended. You might need more memory at a later point when more players are active on your server.

    Start by opening the file config.yml which should now have been created in your home directory on the server.

    1. here
      6) Setup BungeeCord on a HUB (lobby) server
      This server is not necessary but recommended. It is nice for the user to join a lobby server before choosing which game server he/she wants to join.

      First of all you will need an installation of Spigot on this server. Latest version is recommended. 512 RAM of memory should be sufficient to start with and if you notice lag you could increase it later on. This server will contain portals to your other game servers in your network.

      Now to set it up, start by disabling online-mode. That can be done by either open your server.propertiesfile in your file manager or FTP and changing the line

      Code (Text):
      online_mode: true


      online_mode: false
      Most control panels have this option somewhere else too.

      On you can find it here:

      After that, restart the game server.

      Now go back to your BungeeCord server (proxy) and open up the config.yml again.

      Go down to the bottom where it says

      and change the IP of your lobby server to the IP and port of the lobby server you just set up. As default it says

      Restart your BungeeCord (proxy) server afterwards. You can also change the MOTD to whatever you feel like.

      After you have added a lobby server in this you should end up with something like this:

      Code (Text):
          restricted: false
          motd: '&1Welcome to our hub server!'

      If you change the name of your lobby server, do remember to change the name of the fallback and default server too. Otherwise you can just ignore this.

      Code (Text):
        fallback_server: lobby

        default_server: lobby

      Again, the IP-addresses and ports used in this tutorial are just examples. Yours most likely differs.

      Important: The spacing in the config file has to be YAML compliant, which means it needs to follow the same pattern with the spaces. BungeeCord uses 2 spaces (" ") for indentation. Do not use tab!
      We will setup portals further down in the tutorial.

      7) Setup BungeeCord on a node server (game server)
      Note: Repeat this for all game servers that you want in your server network
      This server does not need Spigot but we do recommend it.

      Set up this game server however you wish, it can even use mods. The only thing you need to configure on your game server is, again, disable Online-mode in your control panel or file. Go back to step 6 if you don't remember how.

      Copy the IP and Port of your server and restart it.

      Now go back to your BungeeCord Proxy server’s config.yml file again

      Go down to the line which says

      and add the following to your config file:

      Code (Text):
        address:    <====== This should be the IP and port of YOUR server
        restricted: false
        motd: '&1Welcome to our MiniGames server!'
      If you have followed all steps correctly so far, your config.yml file should now look like this:

      Code (Text):
        - admin
      - disabledcommandhere
      player_limit: -1
      stats: 6dff427d-6de0-4b11-bc12-fd98c5e07692
        - bungeecord.command.server
        - bungeecord.command.list
        - bungeecord.command.alert
        - bungeecord.command.end
        - bungeecord.command.ip
        - bungeecord.command.reload
      - max_players: 1
        fallback_server: lobby
        bind_local_address: true
        ping_passthrough: false
        tab_list: GLOBAL_PING
        default_server: lobby
        tab_size: 60
        force_default_server: true
        motd: '&1Another Bungee server'
        query_enabled: false
        query_port: 25577
      timeout: 30000
      connection_throttle: 4000
          restricted: false
          motd: 'Welcome to the Lobby'
          restricted: false
          motd: 'Welcome to our MiniGames Server'
      ip_forward: false
      online_mode: true

      As mentioned in step 5:

      should be IP of your proxy server.

      You can also change the following to get admin permissions on your network

      Code (Text):
        - admin

      to your minecraft game name, for example

      Code (Text):
        - admin

      Restart all game servers just to make sure everything got setup correctly.

      You can now try joining your bungeecord server and then write /server1 in the chat to see if everything works correctly. You should be teleported from the lobby server to the server called "server1" that you just added.

      8) Setting a default server (Optional)
      In your config.yml on the BungeeCord Proxy server file you will find the line

      Code (Text):
      default_server: lobby

      which sets which server the player will join if they join your network.

      If you dont want your player to join the lobby as default, change it to the name of the server you want the player to join when he joins your network. If you want to force your players to automatically join your hub server whenever they connect to your network, there is a setting for this called

      Set it to true if you want them to force join the lobby (hub) server everytime they connect. Set it to false if you want them to join the server they were playing on the last time they was on your network.

      There are a lot of settings that can be changed in your config.yml file. If you want more information on these settings, you can visit Bungeecord’s Configuration Guide

      9) Setting up IP-whitelist to prevent hackers from joining
      Since all your game servers have online-mode disabled it unfortunately means hackers are able to join your servers. However, this can be prevented with a plugin called IP-whitelist.

      Note: Repeat the following steps for each game server (node)
      This is how to setup IP-whitelisting for your BungeeCord network.

      Go to this website and click on “Download Now”. The .jar file will now download to your computer. Then upload the file to all your game servers plugins folder including the Hub (lobby) server.
      1. Bungeeportals. Since there is already a good tutorial for this over at spigot's website we recommend you have a look there.

        Remember that BungeePortals needs the WorldEdit plugin installed to work.

        That is all! You now have your own BungeeCord network!
        If you choose as your game server provider, we do offer support to setup BungeeCord to get your server network running smoothly. Contact us today and get started!

        If you want more information about Bungeecord, click here:
    #2 BabyDoekoes, Apr 22, 2017
    Last edited: Apr 22, 2017