Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: TomatoSoup on June 10, 2007, 05:01:37 PM

Title: Allowing commands with certain syntax?
Post by: TomatoSoup on June 10, 2007, 05:01:37 PM
I have certain gamemodes/other stuff bound into .cfg files, so I want to give my admins the ability to change gamemodes by using rcon. But I only want them to be able to do certain rcon commands. Like !rcon exec spacebuild, or !rcon exec freespace

You get the idea, can I do ulx userallow "ulx rcon exec freespace"?
Title: Re: Allowing commands with certain syntax?
Post by: Megiddo on June 10, 2007, 05:44:06 PM
Not in the current implementation no. This is something we've always been meaning to do though, so stay tuned.
Title: Re: Allowing commands with certain syntax?
Post by: spbogie on June 10, 2007, 07:23:30 PM
Um... we have "ulx exec" which executes the specified config file. There is no way to restrict which cfg files can be run, but it is more restricted than full rcon access.
Title: Re: Allowing commands with certain syntax?
Post by: JamminR on June 10, 2007, 08:30:27 PM
Would "ulx userallow" be the way for him to impliment it
Groups.txt 'allow' table would be easiest 'mass' way I would think

Title: Re: Allowing commands with certain syntax?
Post by: Megiddo on June 10, 2007, 11:00:34 PM
Um... we have "ulx exec" which executes the specified config file. There is no way to restrict which cfg files can be run, but it is more restricted than full rcon access.

Doh, that's what I was thinking of. Guess we did implement it after all.
Title: Re: Allowing commands with certain syntax?
Post by: TomatoSoup on June 11, 2007, 12:05:34 PM
Thanks guys!

Anyway, it would be a good idea to allow stuff like that. So we could give a person the ability to ban for one hour by using a command like

ulx userallow Firefox "ulx ban [wildcard] 60" or whatever the ban syntax is.