1

MultiServer Plots and Player Distribution Plugin Coding Help

Petzl11's Avatar Petzl119/2/13 5:19 pm
1 emeralds 54
Hi guys,Could you please give me some help with coding this[It was late at night when i typed this out] :

Okay I am currently planning it out:
What I think is having 3 servers linked by a bungee using my 4 cores on my server.
Then I link the chat and the plotme making one seamless server
But here comes the complex stuff
So there are 3 servers
all running the same plugins
you have to link /tp and all of that - easy
That's already a plugin done
then you have to divide the players across the 3 servers
We have to write a bungee/plotme plugin that will evenly distribute the players across the 3 servers
So I want all the servers to have ~even numbers
Now it gets even more complex
I cannot restrict players to only 1 server. that would me 1/3 people would be on a different server making it hard to play with friends
So players are constantly moving servers
So what I have in mind is...
It will compare server 1, 2, and 3,get the player counts
Then the next time a player does /p auto (new plot) it will direct them to the server with the lowest player count
Just take a look at the plotme api make sure it's possible
Posted by Petzl11's Avatar
Petzl11
Level 1 : New Miner
0

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome