Raised This Month: $ Target: $400
 0% 

Admin Logs 1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
pirvu
Senior Member
Join Date: Apr 2009
Location: Here and There [ro]
Old 11-10-2009 , 14:12   Admin Logs 1.2
Reply With Quote #1

[AmXX] Admin Logs 1.2


Description:

- With this plugin you can log all admin commands used by a player in a folder / in a log file


Cvars:

- log_steam 0/1/2/3
  • 1 Log the ip of the user
  • 2 Log the steamid of the user
  • 3 Log both
  • 0 Log neither
- log_direct 0/1/2
  • 0 Log in the directory with the date
  • 1 Log in the directory with the ip
  • 2 Log in the directory with the steamid
- log_name0/1
  • 1 The log file is the name of the admin
  • 0 The log file is the current date
- log_amxx 0/1
  • 0 Don't log amx_comands
  • 1 Log amx_ commands
- log_admin 0/1
  • 0 Don't log admin_comands
  • 1 Log admin_ commands
- log_zp 0/1
  • 0 Don't log zp_comands
  • 1 Log zp_ commands
- log_usefile 0/1
The name of the log file will be according to users.ini
  • 0 Log normal
  • 1 Log using users.ini





Credits :
GHW_Chronic For his Anti admin abuse plugin http://forums.alliedmods.net/showthread.php?t=24185
DarkGod - help improve the code
xPaw - help improve the code
Xellath - thanks for the ideea + function to check the name for invalid characters
worldspawn - ideea to read users.ini
Racoon - test


Note : You need to place this plugin in front of the others ( This should be the first plugin in plugins.ini)

adminlogs.amxx
;============================================ ========
admincmd.amxx


If you find errors, please, post here, suggestions are welcome!



This is my first plugin so don't judge so harshly. Also my English skills suck.

Thanks
eforie for the image



Attached Files
File Type: sma Get Plugin or Get Source (adminlogs.sma - 4748 views - 7.1 KB)
__________________
Http://pirvu.mybrute.com <- Try my BRUTE! If you dare!

Last edited by pirvu; 11-21-2009 at 08:59.
pirvu is offline
Send a message via Yahoo to pirvu Send a message via Skype™ to pirvu
 



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:07.


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