[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
![](https://forums.alliedmods.net/image-proxy/7cfee7c7661c26c5723bc7740ca8854694b51180/687474703a2f2f666f72756d732e616c6c6965646d6f64732e6e65742f6174746163686d656e742e7068703f6174746163686d656e7469643d353336383526616d703b643d31323538343634373438)