Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: raymond4000 on July 06, 2014, 04:55:31 PM

Title: allow only ulx ranks or usergroup on server
Post by: raymond4000 on July 06, 2014, 04:55:31 PM
I was wondering if anyone knows of a way to only allow users on a server that only have a rank or certain user group.

So in other words you would be unable to join the server unless you were apart of a specific usergroup.

Thanks!
Title: Re: allow only ulx ranks or usergroup on server
Post by: Avoid on July 06, 2014, 07:06:57 PM
Hello,
you should take a look at the PlayerAuthed hook here (http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexc4b1.html).
So now you only need the check the players usergroup and kick disallowed usergroups accordingly.
Title: Re: allow only ulx ranks or usergroup on server
Post by: JamminR on July 06, 2014, 09:57:33 PM
I'm pretty sure you could enable ULX reserved slots in mode 1 with slots avail as same number of server maxplayers and perform same function.
Then you'd have to grant any of the groups (or inherit from another) the reserved slot access. "ulx reservedslots" I think.
Or maybe that's mode 3.
I always get them mixed up.
https://github.com/Nayruden/Ulysses/blob/master/ulx/data/ulx/config.txt#46 <-- straight text config explanation, can be done in XGUI too though.