Free slot & Redirection


Is it possible to make reserved slots for players? For example: Make a file with list of players what can join to server anytime whether is server full or not. If is server full, to select random playerid and kick him to free slot?

Is it possible to make redirection from server to server?
When player connect, to disconnect him and connect to another server?
I need this because i'm moving to another hosting, so I don't want to lose players what don't know the new server IP.

Sorry for my bad English!

To make a reserved slot you'd have to check a connecting player's name and IP, problem is if the person who your reserving for's IP changes, then you'll have to change your script

You can't redirect a person to another server, what you can do is change the name of your old server to something like

and then lock your old server with a password

You could use the dns plugin and e.g. for the reserved players to dynamically get the reserved players' ips without changing the script.
Resolve the ip from the dns and just compare it with the ip of the connecting player. If the server is full and the ip is reserved, kick one player.

(reserved players register a dns address that is stored in your database/user files)

Forum Jump:

Users browsing this thread: 1 Guest(s)