Thursday, October 18, 2012

Logs Filterscript

Hello Peoples,

Thanks to Terminator3 for his Direcotry Plugin(You need this): http://ultimate-gta.blogspot.com/2012/10/directory-20-plugins.html
Thanks to wups for the OnPlayerShootPlayer Include(You need this): http://ultimate-gta.blogspot.com/2012/10/onplayershootplayer-v8.html
Thanks to Wonderweiss for testing help.
Description:

This Filterscript Logs:

-Death (playerid,killerid,reason)
-Chat
-Commands
-Enter/Exit Vehicle
-OnPlayerShotPlayer (Thanks to Wups for the OnPlayerShotPlayer Function)
-Interior Change(Oldinterior, NewInterior)
-Connect/Disconnect(name,Ip,reason);
-Rcon Login(If the Player enters a wrong password the password would be logged)
-PlayerPositionLog(Every 1.5 Seconds it Logs your Position(If this Function cause lags set the timer Higher))

Installation:

1: Downlaod the Directory Plugin and the Log Filterscript
2: Put the Directory Plugin and the Log Filterscript in your Server.cfg

Configuration:

You can Change the Configurations in scriptfiles/Logs/Log>Config.cfg

You can define how the Script should save the Log.
SaveMode=1 //Would create a Folder for every Player and for every Log type a file (Deathlog.txt, Chatlog.txt ..)
SaveMode=2 //This would create a Textfile for every Player and not more (( Smaller,simple,not so big ))
SaveMode=3 //This would create only 1 Logfile !
SaveMode=4 //This would create the Files DeathLog, Chat, command ... in the Log Folder!All Players are in these Files

You can disable every Log in the LogConfig.cfg

Example:

Change ChatLoging=1 to ChatLoging=0
Or Change Configs/Clear Logs Ingame with /Logcenter (only for rcons)
Pictures:
I think no Pictures are needed.

Bugs:
Sry if there are any Bugs !
If you found any Bug send it to me!
What is allowed:
Don't say this is your work,
Don't remove the Credits

No comments:

Post a Comment