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.
Features:
- 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".
Installation:
- Put mcBalancer.jar to your BungeeCord plugins folder.
This section describes default config installation.
Configuration
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.
Example Setup
servers:
hub:
address: localhost:40000
restricted: false
motd: '&4My Little Network'
hub1:
address: localhost:25750
restricted: false
motd: '&9Hub 1'
hub2:
address: localhost:25751
restricted: false
motd: '&9Hub 2'
hub3:
address: localhost:25752
restricted: false
motd: '&9Hub 3'
hub4:
address: localhost:25753
restricted: false
motd: '&9Hub 4'
hub5:
address: localhost:25754
restricted: false
motd: '&9Hub 5' Commands:
- /hub: sends user to hub.
Permissions:
balancer.hub - to use /hub command
Advanced configuration
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:
{
"mountPoint": "hub",
"pattern": "(hub)(\\d+)",
"createCommand": true
}Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta