Admin Connect Logs
Version 1.5
Description:
Using this plugin, you can check the activity of managers (Admins) in your server
All details are stored in the following file, And you can check the specifications in this files
Code:
addons/amxmodx/configs/Connect_log/Connect_log-xxxxxxxx.log
And Disconnect:
Code:
addons/amxmodx/configs/Connect_log/Disconnect_log-xxxxxxxx.log
With the following command, you can watch the list of admins that entered the server in your "console"
( Show File ( addons/amxmodx/configs/Connect_log/Connect_log-xxxxxxxx.log ) in the console )
File save date code by : +ARUKARI-
PHP Code:
formatex (szLog, charsmax(szLog), szLogFile, szTime );
File Info code by : fysiks ( Edited By Me: AlferD )
Code:
new usersfile[64], data[128]
get_configsdir(usersfile, sizeof(usersfile) - 1)
add(usersfile, sizeof(usersfile) - 1, "/users.ini")
new f = fopen(usersfile, "rt")
if(f)
{
while( fgets(f, data, charsmax(data)) )
{
trim(data)
if( !data[0] || data[0] == ';' || data[0] == '/' && data[1] == '/' ) continue;
console_print(id, data);
}
fclose(f)
}
Requirements:
- Non-Steam is not supported.