Reserved Slots
ghostdlr
Join Date: 2015-07-02 Member: 205950Members
I found out 3 commands for reserved slots here : http://wiki.unknownworlds.com/ns2/Console_Commands
sv_reserved_slots <amount> Set the amount of reserved slots available on the server.
sv_add_reserved_slot <amount> Adds a new reserved slot for the SteamID specified.
sv_remove_reserved_slot <amount> Removes the reserved slot for the SteamID specified.
Does this work ? If the server is 24/24 , how can people join ?
sv_reserved_slots <amount> Set the amount of reserved slots available on the server.
sv_add_reserved_slot <amount> Adds a new reserved slot for the SteamID specified.
sv_remove_reserved_slot <amount> Removes the reserved slot for the SteamID specified.
Does this work ? If the server is 24/24 , how can people join ?
Comments
So what it does is, it takes your max player setting and deducts the amount of reserved slots I think...
Like I said in another thread, it's confusing and probably should for example be changed to:
[22/22+2] for full public slots
[24/22+2] for a full server
I have an idea ... I could make a web page with a "Request a reserved slot" button .
When someone clicks it, it will run sv_add_reserved_slot for his steam ID in the server console and he will get the next slot that becomes available .
This say, the server will be 24/24 all the time .
Can this work ? Does NS2 Server support rcon commands ?
Let's say you have 24 physical slots on your server. Then the browser would show XX/24. If you add two reserved slots, then the browser shows XX/22 in yellow. If one or two people with reserved slots join, then it becomes 23/23 or 24/24 in yellow.
EDIT: No @ghostdlr , I'm pretty sure the commands take <amount>. The steamids are specified in ReservedSlotsConfig.
EDIT again: I take it back, now I'm not so sure.
The key differences are:
In vanilla the reserved slots are always shown.
In shine the reserved slot is only shown when in use.
In shine you can also determine if they take the reserved slots before the normal slots. So if I have a 7vs7 spec, I want to force my admins to use normal slots first if they play. I use reserved slots for emergency access. Slot not in use? No one knows there is one and noone the wiser.
Another advantage is that the server wont deny people to join first only to get reserved slot kicked by it being vanilla 22/24 with 2 slots.
Is there any way to reload shine config while server is running , without changing the map ?
Shine's reserved slots are superior though, and since you probably already use Shine for admin stuff on the server, might as well use it for the slots too.
I would not recommend it either.. just do a clean mapchange.