Author Topic: Ulx. Set options for your "Operator,Admin" Be able to do.not do  (Read 2115 times)

0 Members and 1 Guest are viewing this topic.

Scooter

  • Guest
What is the file where I can give operator just kick and that's all...Also how can I take my admins option away so they can't jail people but they can do everything else.....So what I'm trying to say is....When you are in your Gmod server you type "!menu" Go to "Client" and you can jail/gimp/ban/kick/Etc people..Where Is the file so I can edit those?   Thanks! ;)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx. Set options for your "Operator,Admin" Be able to do.not do
« Reply #1 on: March 24, 2008, 07:46:16 PM »
Category: User Management
   o addgroup <group> [<inherit>] - Create a new group with optional inheritance.
   o adduser <user> <group> [<immunity>] - Add a user to specified group with optional immunity.
   o groupallow <group> <acess> [<revoke>] - Allow group access to string access.
   o groupdeny <group> <acess> [<revoke>] - Deny a group access to string access.
   o removegroup <group> - Remove a group. USE WITH CAUTION.
   o removeuser <user> - Permanently removes a user's access.
   o userallow <user> <command> [<revoke>] - Specifically allows the user access to command.
   o userdeny <user> <command> [<revoke>] - Specifically denies the user access to command.
   o usermanagementhelp  - See the user management help.

Though the file is "data/ULib/groups.txt", we strongly recommend using the ulx commands from in game though if you're only going to be making a few edits.
USER MANAGEMENT is done from console.
ulx groupallow admin "ulx jail" 1 revoke - would revoke admin right to jail people.
ulx groupallow admin "ulx unjail" 1 revoke - would revoke admin right to unjail people.
BUT BE CAREFUL... superadmin inherits admin inherits operator. So if you remove something from the lower level, the level above would have to have it added if you didn't want the upper level access to lose it.
Using the above example, if you revoked ulx jail from admin, but wanted superadmin to have it, you'd then have to use the following
ulx groupallow superadmin "ulx jail"
ulx groupallow superadmin "ulx unjail"

« Last Edit: March 24, 2008, 07:49:01 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Scooter

  • Guest
Re: Ulx. Set options for your "Operator,Admin" Be able to do.not do
« Reply #2 on: March 24, 2008, 08:34:12 PM »
Great Support...Thanks man!