Server score tracker
Version 0.1.0 (beta)
Support level: Support everything
Description
VALVe is blacklisting servers with a bad server score. Many hosters are frightened their server could be delisted. If a server is delisted ALL servers on the IP of the delisted server are delisted, so you don't want to have a server delisted. This plugin keeps track of your VALVe score (approximate) so you know just about how healthy your server is.
VALVe's rules are:
- New servers start with a score of 0 points
- Each time a player connects to a server, it loses 15 points (only once per day and per user)
- For each minute the player stays on the server, it earns 1 point (up to a max of 45 points per player)
Source:
http://www.teamfortress.com/post.php?id=2338
I released this plugin on request, but it's hard to test, so I ask you to help me testing it. Let it run a few days on your server and report all bugs! Thank you!
If the plugin is final I will create a php based auto generated image that shows a line of your server score (last 10 days with highest and lowest).
Installation
Copy the files to these locations:
Code:
tf/addons/sourcemod/plugins/scoretracker.smx
This plugin uses
default as database handle, if you want to use an other database change line 4 #define DBNAME "yourdesireddb"
This plugin is BETA so please report ANY BUG that appear.
Usage
CVars
Quote:
- sm_scoretracker_prefix
The table prefix
- sm_scoretracker_version
The plugin version
|
Commands
Quote:
- sm_serverscore
Print the score of the last few days in your console.
|
If you like this plugin please give me +Karma.
Also rate this thread
Thanks!
Todo
Stroked means done.
Changelog
Code:
v0.0.1 2009/07/13
+ Plugin created.
v0.0.2 2009/07/13
* Fixed players won't written to db.
v0.0.7 2009/07/13
* No negative values would be possible
& Authors comment: Threaded sql is a bitch!
v0.1.0 2009/07/23
+ Added table prefixes
Please report bugs here, I'll try to fix them as soon as possible.