Raised This Month: $ Target: $400
 0% 

[REQ]Admin Logging


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dr1ft3r
Member
Join Date: Aug 2007
Old 08-06-2007 , 17:02   [REQ]Admin Logging
Reply With Quote #1

Logs per admin, using steam id.

Recording anything they do/change in a simple txt file
dr1ft3r is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-06-2007 , 18:20   Re: [REQ]Admin Logging
Reply With Quote #2

Good idea.

No hang on ... I mean great idea
__________________
Extreme_One is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 08-07-2007 , 03:26   Re: [REQ]Admin Logging
Reply With Quote #3

Just a quick FYI,

In the logs directory, commands are logged, although not nicely ordered by which admin:

Code:
L 08/06/2007 - 22:30:03: SourceMod log file session started (file "L20070806.log") (Version "1.0.0.1270")
L 08/06/2007 - 22:30:03: -------- Mapchange to de_dust2 --------
L 08/06/2007 - 22:34:35: -------- Mapchange to de_dust2 --------
L 08/06/2007 - 22:36:06: [basecommands.smx] "Team MҲ | MoggieҲ<5><STEAM_0:1:8575182><>" console command (cmdline "sv_alltalk 1")
L 08/06/2007 - 22:42:14: [basechat.smx] Team MҲ | MoggieҲ<5><STEAM_0:1:XXX><> triggered sm_say (text  ok' I'm off to add 2 more plugins (they are the same thing))
L 08/06/2007 - 22:45:30: [nextmap.smx] Nextmap changed map to "de_piranesi"
L 08/06/2007 - 22:45:35: -------- Mapchange to de_piranesi --------
L 08/06/2007 - 22:45:35: [GEOIP] GeoIP database info: GEO-106FREE 20070501 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
L 08/06/2007 - 22:52:08: [basecommands.smx] "Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><>" console command (cmdline "sv_alltalk 1")
L 08/06/2007 - 22:52:51: [basechat.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> triggered sm_say (text  just 3 yea ?)
L 08/06/2007 - 22:53:43: [basechat.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> triggered sm_say (text  yep thats great)
L 08/06/2007 - 22:56:40: [nextmap.smx] Nextmap changed map to "cs_havana"
L 08/06/2007 - 22:56:47: -------- Mapchange to cs_havana --------
L 08/06/2007 - 22:57:47: [basecommands.smx] "Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><>" console command (cmdline "sv_alltalk 1")
L 08/06/2007 - 23:02:43: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_respawn "Team MҲ | MoggieҲ"" to client console
L 08/06/2007 - 23:03:04: [basechat.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> triggered sm_say (text  yea)
L 08/06/2007 - 23:05:36: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_respawn "Team MҲ | MoggieҲ"" to client console
L 08/06/2007 - 23:05:49: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_respawn "@ALL"" to client console
L 08/06/2007 - 23:06:29: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_speed "@ALL" "2.000000"" to client console
L 08/06/2007 - 23:06:36: [basechat.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> triggered sm_say (text  LOL)
L 08/06/2007 - 23:06:53: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_bury "Team MҲ | MoggieҲ"" to client console
L 08/06/2007 - 23:07:02: [basechat.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> triggered sm_say (text  lol the bury commands are backwards)
L 08/06/2007 - 23:07:14: [sm_super_menu.smx] Team MҲ | MoggieҲ<29><STEAM_0:1:XXX><> sent command "sm_disarm "Team MҲ | MoggieҲ"" to client console
For us, with +75 admins, then having 75 extra files (supposing 1 log file per admin) is plain silly. Instead I'd just group admins together with what commands u feel comfortable giving them.
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 08-07-2007 , 10:23   Re: [REQ]Admin Logging
Reply With Quote #4

I wrote a plugin 3 years ago for AMXX that watched the client commands coming from clients. It parsed the command, looked at the access privileges for that command, and logged the admin's steamid / the command + args if the command was an admin command with flags > 0.

I am not sure if such a design would work with sourcemod. If you only use sourcemod plugins for client command registering then it should be fine because you could use OnClientCommand since sourcemod handles redirecting of commands to that forward.

I will see if I have time to mess with this. My old script used mysql and php to log everything and had a search engine with amxbans linking. That way I could see which admin did what, and click on a ban and have it link back. Maybe sourcebans could have a look at this.

Links of interest:
http://www.sourcemod.net/devlog/?p=116
http://wiki.alliedmods.net/index.php...d_Scripting%29

Hippo
__________________

Last edited by el hippo; 08-07-2007 at 10:34.
el hippo is offline
dr1ft3r
Member
Join Date: Aug 2007
Old 08-08-2007 , 07:22   Re: [REQ]Admin Logging
Reply With Quote #5

Cheers for looking at this.

Plus its not about what commands you feel comfortable with giving them. People let you down, and things happen. Its a good way to check on why bans were giving etc. Rather than looking for the log from the right map and time
dr1ft3r is offline
Gweedo
Member
Join Date: Aug 2007
Old 08-20-2007 , 14:08   Re: [REQ]Admin Logging
Reply With Quote #6

So what's the word on this request? Will it be implemented?

I'm with Extreme_One that this is a great idea. We have about 60 admins on our servers and having separate logs per STEAMID is the way to go.
Gweedo is offline
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 08-24-2007 , 10:51   Re: [REQ]Admin Logging
Reply With Quote #7

I agree, I've wanted this for a while as well. I talked with Bailopan on IRC, and there currently is no way to do this, but he suggested filing a request for the capability. I did, and once it is implemented I'll see what I can cook up
http://bugs.alliedmods.net/index.php...ls&task_id=855
__________________
Dan o.O - connect dansbasement.us:27015

TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 08-27-2007 , 08:26   Re: [REQ]Admin Logging
Reply With Quote #8

As of version 1384, this has been implemented Thanks Bailopan! See the previous post's link.
__________________
Dan o.O - connect dansbasement.us:27015

TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode