Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: DarKevin on December 10, 2015, 09:57:42 AM
-
Hi,
I would like to give my moderators access to UPS.
There doesn't seem to be a conventional way like a config setting or file, where you can manage the access, so I tried messing with the code.
It seems that UPS uses the IsAdmin function for authentication, outside of ULX/ULIB.
Do I have to change server lua files for that? And how?
-
What do you want to give them permission to? UPS uses ULib access strings, just like ULX.
-
Oh hi, you're the creator of UPS right? Cool :D
Well, in UPS there is this admin menu where you can see the names of all players, and click on them to delete the players props.
I would like to give my moderators access to that, so they don't have to run around the map with remover tool, when someone spammed.
-
The access string for that is "ups miscDeletionAccess". You could use `ulx groupallow moderator "ups misDeletionAccess"` to give the group permission. But, really, just use XGUI...
(http://s10.postimg.org/dachugy49/Garry_s_Mod.png)
Note that if you hover over any of those lines, it will tell you what the access does.
For longtime forum members, they are probably laughing that I'd recommend against the console. The ease of XGUI has finally corrupted me.
-
For longtime forum members, they are probably laughing that I'd recommend against the console. The ease of XGUI has finally corrupted me.
My long-term plan is finally coming to fruition! Muahahahah! ;D
-
Not laughing!
Crying.
Until Gmod creates/allows for high contrast light on dark background themes on every menu, I have trouble playing.
Evil stickly, evil.
-
Lol ok, didn't know that UPS permissions were in there.
Thanks for the help!