mcBalancer 1.1

Easy way to balance players on your hub servers!

  1. Master_chan
    This plugin will automatically send player connecting to your bungee server to less loaded hub server. Also adds /hub command which will send player to hub.

    - Supports unlimited number of server groups with auto-created /<name> command and "balancer.<name>" permission.
    - Will automatically ping all hub servers to ensure they are online, so when one of your hubs goes down it will just marked as "dead".

    - Put mcBalancer.jar to your BungeeCord plugins folder.

    This section describes default config installation.
    At first you need to add server named "hub" to your BungeeConfig. This server should not be real, so you don't really need to have it running. Just add it with any IP and port combination and make it default so all connected players will go to "hub". Then you need to name all your hub servers with this pattern: "hub<number>". At the start plugin will mark all this servers as hub.
    Code (Text):
        address: localhost:40000
        restricted: false
        motd: '&4My Little Network'
        address: localhost:25750
        restricted: false
        motd: '&9Hub 1'
        address: localhost:25751
        restricted: false
        motd: '&9Hub 2'
        address: localhost:25752
        restricted: false
        motd: '&9Hub 3'
        address: localhost:25753
        restricted: false
        motd: '&9Hub 4'
        address: localhost:25754
        restricted: false
        motd: '&9Hub 5'

    - /hub: sends user to hub.

    balancer.hub - to use /hub command

    Config file description:
    pingDelay - interval between group ping in millis. Each server group have it own ping-thread. Default: 5000; You can change it to lower values if you need more precise balancing in multi-bungee environment.

    pingTimeout - ping socket timeout in millis. Default: 2000; Change it if you know what you're doing.

    entries section. This contain all server groups. All server groups have these 3 parameters:
    - mountPoint - this is your virtual server, all connections to this server are balanced to servers matching regexp pattern. createCommand - will plugin auto create command /<mountPoint> with balancer.<mountPoint> permission.

    Default hub section:
    Code (Text):
          "mountPoint": "hub",
          "pattern": "(hub)(\\d+)",
          "createCommand": true
    DeskerYT likes this.

Recent Updates

  1. Update

Recent Reviews

  1. maol3
    Version: 1.1
    Great resource! A few suggestions:
    - Ignoring offline hubs, and only connect to online hubs
    - Fallbacking all players when one of the hubs are closing
  2. Arektor
    Version: 1.1
    Exactly what I was looking for ! :D Useful plugin, it works great and is simple. What could we ask else for?
  3. chas13
    Version: 1.0
    one thing missing is doing the stuff also when a server shutdown/kick player , it works great anyway.