Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Crackium on August 27, 2016, 06:09:35 PM

Title: How to set reserved slots?
Post by: Crackium on August 27, 2016, 06:09:35 PM
Okay, so I want to set my server like so:
                I have twelve slots. I want admins and donators to have reserved slots. For example, lets say the server is completely full with 12 slots of just normal non admins/ non donors. If a donor or admin attempts to join, I want 1 of the 12 users on my server to be automatically kicked to make room for the admin/donor. Once that admin/donor leaves, the slot is open to anyone again. I know I have to do something in the config.txt. of ULX, but I'm still lost.

EDIT: I have the donator and admin ranks created already, I just want the people in those groups to have reserved slots
Title: Re: How to set reserved slots?
Post by: iViscosity on August 27, 2016, 06:58:29 PM
Xgui settings tab.

Make sure those ranks have the rslots perm.
Title: Re: How to set reserved slots?
Post by: JamminR on August 27, 2016, 09:51:23 PM
Indeed. XGui settings is the location. reserved slot permission is what you want.
However, it's not going to be quite like you want it.
You can't have a full server and have someone join by using the server menu in game and have a person on the server kicked.
But you can get close.

See this info from our config.txt lua file. (Start at line 128)
https://github.com/TeamUlysses/ulx/blob/0db8007ceb4a49e22c2bb191d1e16d423851f21e/lua/ulx/data.lua#L128

I recommend using mode 2, and have the rslots visible mode off, and make sure your special groups know to use "connect <yourIP:yourPort>" to connect if it's 'full'.

Title: Re: How to set reserved slots?
Post by: roastchicken on August 28, 2016, 06:51:14 AM
I actually think mode 3 is closest to what they want. It will be what they described, other than the fact that they lose 1 slot.
Title: Re: How to set reserved slots?
Post by: Crackium on August 28, 2016, 01:02:16 PM
Thanks guys.