ULX

Author Topic: BanId Whitelist  (Read 3191 times)

0 Members and 1 Guest are viewing this topic.

Offline ecs

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
BanId Whitelist
« on: January 21, 2014, 02:40:11 PM »
I wanted to prevent my admins from banning my superadmins but it seems that you can only allow certain STEAMIDs to be banned which seems rather useless. Not sure why this is a whitelist instead of a blacklist, unless I am missing something.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: BanId Whitelist
« Reply #1 on: January 21, 2014, 03:32:36 PM »
ULX/Team Ulysses doesn't have a whitelist.
Remove "ulx banid" from the admin group as a work-around.
http://forums.ulyssesmod.net/index.php/topic,6906.msg34062.html#msg34062
2nd option - best idea that just irks me when people don't already do this.
If an admin bans someone they aren't supposed to, don't let them be admin any more.
ULX is like a gun, a very powerful tool.
Misuse the tool, administrative teams get hurt.
Remove the weakest link.

« Last Edit: January 21, 2014, 03:36:01 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ecs

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: BanId Whitelist
« Reply #2 on: January 21, 2014, 03:51:47 PM »
I'll just code a group check like the post suggested, but I was hoping that there was something simple I was missing. The whitelist I was talking about is in the attachment.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: BanId Whitelist
« Reply #3 on: January 21, 2014, 07:05:36 PM »
We break arguments into generic types. The steamid is a string type argument. Whitelisting the strings makes more sense for other commands.

We're considering making a new argument to use for banid to do what you're thinking of doing, but it's not a priority for us at the moment.
Experiencing God's grace one day at a time.