[FilterScript] [FS]ServerStats Saver [V 2.0] New Feature: Vehicle Stats
#1

[FS]ServerStats Saver [V 2.0]

What Is It:

This Filterscript can save some statistics of your server and about the usage of vehicles in your server.
GlobalStats will get saved in a file ServerStats.txt (you can change filename if you want)
VehicleStats will get saved in file VehicleStats.txt (you can also change this filename if you want)

You can see the stats ingame or in the console. (VehicleStats only in console)
The VehicleStats will show only the types that are used.


Which stats will get saved?
  • Total ServerRestarts
  • Total Visits
  • Total Timeouts
  • Total Kicks/Bans
  • Total Deaths
  • Total Kills
  • Total Vehicles Used <<== NEW!!
  • Total Vehicles Destroyed
  • Total Commands used
  • Total Chatmessages sent
  • Total Privatemessages sent
  • Total Time the server has been online (days, hours, minutes seconds)
  • How many times each vehicle-type is used

Any Commands Available?

Ingame:
  • /serverstats
  • /resetserverstats (rcon admin only)
  • /resetvehiclestats (rcon admin only) <<== NEW!!
Console:
  • serverstats
  • resetserverstats
  • vehiclestats <<== NEW!!
  • resetvehiclestats <<== NEW!!

Configuration:

There are 6 things you can change (on top of the filterscript line 9, 10 & 11)

Stats will get saved when the filterscript gets unloaded.
You can also enable a timer which saves the serverstats regular.
Код:
new SavingFrequency = 30;
In this case, the stats will get saved every 30 seconds. If you set it to '0', the stats will not get saved regular (only on FilterScriptExit).

If you (don't) want to save the total time your server has been online, you can enable or disable this function by changing:
Код:
new SaveTotalTimeOnline = 1;
(1 = enabled 0 = disabled)

You can change is the name of the file where the Global-stats will get saved in.
Код:
#define StatsFile "ServerStats.txt"
Default file = ServerStats.txt

You can change is the name of the file where the Vehicle-stats will get saved in.
Код:
#define VehicleStatsFile "VehicleStats.txt"
Default file = VehicleStats.txt

If you don't want the filterscript to save vehiclestats change
Код:
new SaveVehicleStats = 1;
to '0'

You can let this Filterscript save the vehicestats regular.
Код:
new VehicleSavingFrequency = 600;
Fill in the number of seconds (default 600 seconds (10 minutes) (0 = disable regular saving)
Warning: While vehiclestats are getting saved, the server may lag for a few seconds!!!

Any Screens??

Sure:

Ingame:


Console:
Global Statistics:


Vehicle Statistics:



Download:
[V 2.0]
==>> ServerStats.pwn
==>> ServerStats.amx
==>> .pwn mirror R@f
==>> .amx mirror R@f

[V 1.0]
==>> ServerStatSaver.rar (MediaFire)
==>> Mirror by R@f

You will need Dini & Dutils
I added those includes to the [V 1.0] .rar file


Please Comment:

- Please give positive or negative comments about this filterscript
- If you find a bug, please report it here.
- Do you have suggestions or other questions, you can post them here.

I hope you like this FilterScript.

If you're going to use it, please give me credits.

=>Sandra<=



Reply
#2

Very nice job!!
Reply
#3

Very very nice jobb !!
THX!!!!! Filterscript!
Reply
#4

very very very nice Sandra !


Awesome !

I try to use it, for my server :P


Tranks
Reply
#5

Very awesome script and organization. I'll put your name to /credits.
Reply
#6

Thanks
Reply
#7

omg this is amazing, i will use this for sure
Reply
#8

Very nice script, maybe i'll use it
Reply
#9

very nice thanks for this ill have this on my servers
Reply
#10

Thank you very much Sandra!!

Rksss
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)