ULX

Author Topic: Physgun Admin Powers  (Read 2804 times)

0 Members and 1 Guest are viewing this topic.

Offline Sven

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Physgun Admin Powers
« on: August 25, 2013, 11:09:52 PM »
I've been on a server that has ULX and I'm an administrator on it, and I wanted to know if there was any way to make it so you can have one single person be able to physgun groups, for example setting it so just one player can physgun an owner/superadmin/co-owner etc. I've read the ways to make it so a group can target people of a rank below/above their rank, but is there a way to make it so that I wouldn't have to make a group just for physgun rights? Is there a way that I can be able to give/revoke rights from a single player to be able to physgun certain groups or people instead of in groups of 10 or more people? If anyone can answer this it would help alot, thanks  :D

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Physgun Admin Powers
« Reply #1 on: August 26, 2013, 10:50:26 AM »
Instead of doing:

ulx groupallow <group> <flag>

You would do:

ulx userallow <player> <flag>


SO:

ulx userallow <player> "ulx physgunplayer"

Offline Sven

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Physgun Admin Powers
« Reply #2 on: August 26, 2013, 06:40:00 PM »
So following up what you said MrPresident, I tried both using the ULX menu and the console. I tried to test it with !menu and went to userallow put in my name and as the access tag i just put *, and when we tested it on a higher rank it didn't seem to let me physgun him.
« Last Edit: August 26, 2013, 06:44:25 PM by Sven »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Physgun Admin Powers
« Reply #3 on: August 26, 2013, 07:07:56 PM »
Does the group he's in have can_target set to !%<the_other_group>?
I don't really remember, and MrP/Megiddo/Stickly Man likely remember clearly, but that might be causing the issue.
I'm not sure we wrote player permissions to override group permissions.
Individualized commands, sure, but, group policy, not sure about.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Physgun Admin Powers
« Reply #4 on: August 27, 2013, 06:46:26 PM »
can_target takes precedent over whatever is specified in individual access tags, unless you specifically tell it not to. You'd do this by running

ulx userallow <player> "ulx physgunplayer" "$*"

The dollar sign is what's saying "ignore can_target". The order is important, the dollar sign has to come first.
Experiencing God's grace one day at a time.