Raised This Month: $51 Target: $400
 12% 

Amx Log Advanced v1.4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 09-06-2010 , 09:44   Amx Log Advanced v1.4
Reply With Quote #1

AMX LOG ADVANCED v1.4

This plugin is made for logging all connecting players data, their chatting and typing information about player in chat. You can log this data:
* Time connect/disconnect
* Nickname
* IP
* SteamID
* Country

All data will be saved to log files, witch are located in addons/amxmodx/logs/amx_log. Sure you can easily change directories as you like. Located in amx_log_advanced.sma:
Code:
*
/* ---------- There you can edit logs directories ---------- */
#define CONNECT_LOG_DIR "logs/amx_log"
#define DISCONNECT_LOG_DIR "logs/amx_log"
#define SAY_CHAT_DIR "logs/amx_log/amx_log_chat"
Code:
*
/* ---------- There you can edit flagged players logs directories ---------- */
#define F_CONNECT_LOG_DIR "logs/amx_flagged_log"
#define F_DISCONNECT_LOG_DIR "logs/amx_flagged_log"
#define F_SAY_CHAT_DIR "logs/amx_flagged_log/amx_flagged_log_chat"
Flagged players logs will be enabled, then amx_log_separate_by_flag and amx_log_player_flag cvars will be set.

Before use:
If you want to log admin chat (say @), you must write amx_log_advanced.amxx up to adminchat.amxx.
Suggesting plugins orders:
Code:
advertise_filter (if you using something like this)
amx_log_advanced.amxx
adminchat.amxx
admin_chat_colors.amxx (if using)
Cvars:
amx_log_type_data 3 //
0 - Logs disabled
1 - Logging only connect
2 - Logging only disconnect
3 - Logging both
amx_log_connnect_type 1 //
0 - Logs dissabled
1 - Log when conneced to server
2 - Log when connecting to server
amx_log_info_chat 1 // Information about connect will be shown in chat. 1 - on / 0 - off
amx_log_chat_sound 1 // Playing sound on connect
amx_log_data abcd // Saving information (in logs)
amx_log_chat_data acd // Showing information in chat
a - Nickname
b - IP
c - SteamID
d - Country
amx_log_console 0 // Connects data will be shown in console
amx_log_dubbing 0 // Data in log filles will not be repeating if this cvar on.
amx_log_chat 3 // Chat logging
0 - Off
1 - Logging only say
2 - Logging only say_team
3 - Logging all
amx_log_chat_dubbing 1 // Will not repeat equal messages in log files if on
amx_log_delete_days 7 // Cvar deleting old log files. Specify what old they should be to delete (in days).
amx_log_player_flag 0 // Specify the flag (from users.ini file) if you want, that only players with that flag will be logged (example - admins).
amx_log_separate_by_flag 0 // If you turn on this flag plugin will log flagged players to one directory and other players to other (directories are in .sma file)
amx_log_bots 0 // Enable/Disable bots logging.
Attached Files
File Type: sma Get Plugin or Get Source (amx_log_advanced.sma - 3225 views - 24.7 KB)
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
 



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 04:57.


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