Author Topic: Specific Commands  (Read 1700 times)

0 Members and 1 Guest are viewing this topic.

Offline Dimstar

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Specific Commands
« on: August 24, 2013, 02:30:03 PM »
Is there a way to give specific commands to someone like only able to slap a certain person or like that
 Also, is there a way to not allow someone to target a certain person like "!%(usernam)"?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Specific Commands
« Reply #1 on: August 24, 2013, 06:38:04 PM »
You can give individual players, using userallow, specific commands, limiting them by only groups, using can_target.
Can't give commands and limit to not affecting other individuals.
See our FAQ section for 'how exactly does Can_target work?'
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Dimstar

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Specific Commands
« Reply #2 on: August 24, 2013, 08:19:11 PM »
Alright, thanks. Also, is there a way I can give only superadmins access to the sv_cheats commands? Like, as a superadmin, i want to, for example, run a lua script. I don't want any other group having permissions to do so. If it's possible, please share it with me :D

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Specific Commands
« Reply #3 on: August 24, 2013, 08:48:11 PM »
As a superadmin, please go to your game console and look up the following ...type "ulx help".
You'll see many commands, two of which you might be interested in.
        o ulx luarun {command} - Executes lua in server console. (Use '=' for output)
        o ulx rcon {command} - Execute command on server console. (say: !rcon)

There is no way to run most sv_cheat type commands locally, no, if sv_cheats is on, which it should always be due to it's security risks.

All of those commands are available also in XGUI (as a superadmin).

All of this is covered in the ulx help and our FAQs area.
Please spend time looking through our FAQs and help.
Thanks.
« Last Edit: August 24, 2013, 09:10:58 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming