General > Developers Corner
Give Access to a single rcon command?
PAL-18:
--- Quote from: Stickly Man! on January 02, 2013, 08:55:17 PM ---In case you don't want to have a separate command for it, you can in fact limit rcon commands. It works best in XGUI, but you can see the access tag equivalent in the chat:
--- End quote ---
I dont see the restrict command on my XGUI and im using the latest ULIB+ULX
bender180:
Holly crap something i can help with! anyway theres an easy way to do this without ulx your going to want to go to "gamemodes\terrortown\gamemode and open admin.lua.
Find
--- Code: ---if (not IsValid(ply)) or ply:IsSuperAdmin() or GetRoundState() != ROUND_ACTIVE then
ServerLog(Format("%s used ttt_print_damagelog\n", IsValid(ply) and ply:Nick() or "console"))
pr("*** Damage log:\n")
--- End code ---
and change
--- Code: ---ply:IsSuperAdmin()
--- End code ---
to
--- Code: ---ply:IsAdmin()
--- End code ---
from that all admins will be able to use the ttt_print_damagelog command at anytime from the console.
PAL-18:
@bender180 Awesome, thanks!
Stickly Man!:
--- Quote from: PAL-18 on February 05, 2013, 02:34:40 PM ---I dont see the restrict command on my XGUI and im using the latest ULIB+ULX
--- End quote ---
Are you sure you clicked on "ulx rcon" in the middle there? It looks like it hasn't been selected. The side menu (as seen in my screenshot above) should pop out when you do.
sal101:
--- Quote from: Stickly Man! on February 06, 2013, 01:03:46 PM ---Are you sure you clicked on "ulx rcon" in the middle there? It looks like it hasn't been selected. The side menu (as seen in my screenshot above) should pop out when you do.
--- End quote ---
I run a deathrun on my server, and I'm trying to let my players enable third person through RCON but limiting them from every other rcon command, when I get home Ill try this, would there be any other way to do it though?
Sal
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version