Author Topic: How to restrict a certain player from commands?  (Read 6432 times)

0 Members and 1 Guest are viewing this topic.

Offline Ticket

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
How to restrict a certain player from commands?
« on: August 27, 2014, 08:00:35 PM »
I don't understand the !%, I wan't to restrict a guy on this server I'm super admin on, he's incredibly annoying and obnoxious.

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: How to restrict a certain player from commands?
« Reply #1 on: August 27, 2014, 08:47:53 PM »
!% Means "Everyone Below"

so if it's * it's everyone
if it's !%superadmin it's everyone below superadmin
if it's !%admin it's everyone below admin
and so on so forth..

If you want to restrict a guy, set him to user.
Once you get to know me, you'll find you'll have never met me at all.

Offline Ticket

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: How to restrict a certain player from commands?
« Reply #2 on: August 28, 2014, 08:10:19 AM »
I know about that, but I'm asking how to restrict a certain player and not an entire rank, he's a donator. Can't set a donator to user. That's a chargeback waiting to happen.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: How to restrict a certain player from commands?
« Reply #3 on: August 28, 2014, 08:43:58 AM »
Set him to donator..?  :o
Out of the Garry's Mod business.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How to restrict a certain player from commands?
« Reply #4 on: August 28, 2014, 09:36:00 AM »
If you're not going to remove donator group access from them (a PRIVILEGE imo, not a RIGHT), then you'll need to deny him the specific commands from him that you don't want him to use.
I'm sorry, but I don't know how to tell you to do this in XGUI (It's probably easy, I just haven't loaded Gmod in a while to look)

Quote from: ULX Usermanagementhelp
o ulx userdeny <player> <command> [<remove explicit allow or deny instead of outright denying: 0/1>] - Remove from a user's access.

So it would be
ulx userdeny "Your players name" "ulx command1_you_dont_want_him_using"
ulx userdeny "Your players name" "ulx command2_you_dont_want_him_using"

If you later want to grant the command, you add a 1 on the end using same command.
ulx userdeny "Your players name" "ulx command2_you_dont_want_him_using" 1

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ChaosWolf

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 2
  • "The Exiled One's" Server Owner
Re: How to restrict a certain player from commands?
« Reply #5 on: August 28, 2014, 02:11:46 PM »
just my 2 cents..

if you have a person(s) who have patterns of misconduct on your server you can always set a group specifically for them. with its own chat tag etc.

I like giving examples so here's one

you could call the group penalty, and the chat tag can be Dunce in some ugly color, and remove their user privileges such as votemap, vote, asay, and any other permissions you have granted to "user" leaving penalty with 0 access rights, its how I like to deal with trouble makers this works great with other Ulysses Teams great addons like auto promote (you can set a penalty time) and so forth.

just a little idea I thought I would share with everyone.

Regards,
      ChaosWolf ^-^
"Someone once told me, scripting lua is like trying to build a rocket ship, once your finished with it and think your done, you start it up only to realize you had just built it upside down." ~Programmer