This is a plugin for server hosts. It's not server-sent, it runs on your server. It doesn't activate when you're playing on another server.
It sends a bunch of stats at the end of each round to my server:
- GG2 version
- Server name
- Server IP and port
- Map
- Winning team
- Game mode (+ number of control points and whether there's a setup gate if CP)
- Timer and time limit (if applicable)
- Respawn time (if applicable)
- Red/blue caps (if CP)
- Red/blue wins (if arena)
Plus this info about each player:
Name (not sent since version 1.1 after wareya objected - fair enough)- Team
- Class
- Whether they have queueJump enabled
And all thirteen stats about each player:
- Kills
- Deaths
- Caps
- Assists
- Destruction
- Stabs
- Healing
- Defenses
- Invulns
- Bonus
- Dominations
- Revenge
- Points
And that's all. The data is sent silently and automatically, and if it fails to send, it will not crash your server. All the data is publicly available at
http://stats.ajf.me/This is not supposed to be some evil NSA spying program. All this info is available publicly anyway if you join a server. I'm just making a way to automatically collect it.
So, why send all this data? Well, we can build up a database of GG2 games with it. This is useful because we can see if certain game modes are biased one way or the other, or how respawn times affect things, or how many people use queueJump, etc. While the interface atm is very primitive, it's all backed by a proper SQLite database, so all sorts of interesting queries could be run.
Running a server and interested in joining this project to gather stats?
Download v1.2.1 now!(it's a zip file, extract the files into your Plugins folder. onroundend.gml needs to be at Plugins\Stats\onroundend.gml to work.)