ULX

Author Topic: Undo Can't Target command  (Read 2907 times)

0 Members and 1 Guest are viewing this topic.

Offline TowerSheep

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Undo Can't Target command
« on: January 07, 2013, 03:03:00 PM »
I read can't target command wrong and made it so my higher level admins cannot target the lower level admins. Is there a way to undo this?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Undo Can't Target command
« Reply #1 on: January 07, 2013, 04:26:03 PM »
Unfortunately no (not without resetting all of your group permissions, anyways), but the default values are pretty simple to set up again:

<group> can_target = "!%<group above>"

So, for the default groups:
superadmin = "*"
admin = "!%superadmin"
operator = "!%admin"
user = "!%operator"

EDIT: Fixed a minor error
« Last Edit: January 08, 2013, 08:36:41 AM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline TowerSheep

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Undo Can't Target command
« Reply #2 on: January 07, 2013, 09:07:04 PM »
Where is the file that the group permission values are stored?

Thanks for the helpful information!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Undo Can't Target command
« Reply #3 on: January 07, 2013, 09:25:18 PM »
gmod/data/Ulib/groups.txt
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TowerSheep

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Undo Can't Target command
« Reply #4 on: January 12, 2013, 05:09:11 AM »
I meant that file where it says who can target who. I can just do a clean install of that file correct?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Undo Can't Target command
« Reply #5 on: January 12, 2013, 06:58:19 AM »
If in doubt, a data wipe will work. Run "ulx resettodefaults" in server console to reset everything.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Undo Can't Target command
« Reply #6 on: January 12, 2013, 11:33:31 AM »
I meant that file where it says who can target who. I can just do a clean install of that file correct?
Same folder as I posted above, but the file is called 'users.txt'
gmod/data/Ulib/users.txt
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TowerSheep

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Undo Can't Target command
« Reply #7 on: January 15, 2013, 01:15:51 PM »
Thanks guys, I got it fixed. Please lock