Ulysses Stuff > Suggestions
Echo Admin Commands to Admins only
mikey:
--- Quote from: nathan736 on February 18, 2013, 09:00:22 AM ---did a modification to add the ability to set a convar in config.txt https://github.com/nathan736/Ulysses/tree/patch-1/ulx
this is not a stand alone this patches the stock ulx code
-warning this may not work-
--- End quote ---
this isn't what I was asking for :'(
nathan736:
https://github.com/Nayruden/Ulysses/blob/master/ulx/lua/ulx/log.lua#L351
change someone to what ever you want in that dir and your set, what did you want then ?
mikey:
--- Quote from: nathan736 on February 25, 2013, 07:06:38 AM ---https://github.com/Nayruden/Ulysses/blob/master/ulx/lua/ulx/log.lua#L351
change someone to what ever you want in that dir and your set, what did you want then ?
--- End quote ---
Instead of it saying (Someone) to all the players, it just doesn't echo to anybody BUT admins.
nathan736:
k ill see if i can figure it out
okiedoke:
Hi guys,
I hate bumping new threads but on this occasion I feel I need to.
Can I just ask if this was ever completed? We have an extensive structure of staff within our community.
We currently have the owner who is 'superadmin', we also have 'founder', 'co-owner' and 'headadmin' that are all inherited with slight variations from 'sadmin' (senior admin). 'sadmin' inherits from 'admin' and intern goes from 'tadmin' (trial admin).
We would ideally like to be able to have ULX echo all admin commands used but so only 'sadmin' and higher can see the echoes.
We don't want 'admin' and lower to see the echoes as we don't actually want them to know we can see them.
Brief bit of background to understand why - there is a culture where some of our admins kick or slay during TTT rounds for sometimes very petty reasons often because the admin was a T and they got killed. The owner is not on very often so getting him to check server logs is difficult and we would like to be able to deal with this quickly when he isn't online.
Me and him have agreed if we can get this working he'll implement it. To be honest, I'm quite the Lua junkie, I can edit the code with a basic understanding of what I'm changing but no good at new code. If someone could simply tell me where the Lua checks to see what usergroup they are in when it echoes and I'm sure I could do the rest.
Thanks!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version