Ulysses Stuff > Suggestions
Echo Admin Commands to Admins only
Megiddo:
It has not been done yet. The code for logging is in logs.lua. You'll want to look near the end of the file.
JamminR:
I believe we have a group flag for seeing console log functions.
Don't we?
Maybe not. It's been too long for me since I looked at our groups.
Maybe I'm thinking the seeasay with operators.
Megiddo:
You might be thinking of the permission that lets you see who used commands when logging is set to anonymous mode.
okiedoke:
--- Quote from: Megiddo on August 21, 2013, 05:17:41 PM ---You might be thinking of the permission that lets you see who used commands when logging is set to anonymous mode.
--- End quote ---
That is pretty much what I want. So our higher admins can see every command our lower admins are doing without anybody else seeing the echo.
I see this in log.lua on line 21 and 22:
--- Code: ---local seeanonymousechoAccess = "ulx seeanonymousechoes"
ULib.ucl.registerAccess( seeanonymousechoAccess, ULib.ACCESS_ADMIN, "Ability to see who uses a command even with ulx logEcho set to 1", "Other" )
--- End code ---
Now the ability to change ULib.ACCESS_ADMIN to a custom usergroup and being able to change it to work when echo is set to 0 would be PERFECT.
Megiddo:
--- Quote from: okiedoke on August 22, 2013, 12:28:05 PM ---Now the ability to change ULib.ACCESS_ADMIN to a custom usergroup
--- End quote ---
It's just a standard access tag.
--- Quote from: okiedoke on August 22, 2013, 12:28:05 PM ---being able to change it to work when echo is set to 0 would be PERFECT.
--- End quote ---
It's not a simple change, but it's one that you should be able to accomplish given basic Lua experience and an hour of time.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version