Description: Keeps track of and announces high and low scores.
Min. Version: 2.0.10
This plugin will track high and low scores on a per-player basis, and report notable records. When given a filename as a parameter, the plugin will load scores from and save scores to this file. The loading syntax is:
Code: Select all
/loadplugin /path/to/SimpleStats.so,/path/to/scores_file.txt
Players can request a list of the top ten high or low scorers, or request scores for a specific player. For instance:
Code: Select all
/highscore
[SERVER->] High scores list
[SERVER->] ================
[SERVER->] enigma 81
[SERVER->] VTX Man 74
[SERVER->] Constitution 65
[SERVER->] orbit 55
[SERVER->] Warinthestar 35
[SERVER->] Hamgreen 34
[SERVER->] Florida Fighter 19
[SERVER->] The Vet 18
[SERVER->] Fusilier 18
[SERVER->] sigonasr2 17
Code: Select all
/lowscore
[SERVER->] Low scores list
[SERVER->] ===============
[SERVER->] beahen_|deep -78
[SERVER->] helen_keller -68
[SERVER->] MichaelKNR -68
[SERVER->] the_Whomper -31
[SERVER->] Nhiack -28
[SERVER->] KP_OZ -27
[SERVER->] ss -25
[SERVER->] aRabbid -23
[SERVER->] Logbottom -23
[SERVER->] Man Bear Pig -20
Code: Select all
/highscore Warinthestar
[SERVER->] Player Warinthestar has a high score of 6.
Code: Select all
SERVER: Warinthestar just tied sigonasr2's high score record of 2!
SERVER: SkaterGOD/DOOD23 just tied Warinthestar's high score record of 1!
SERVER: Consolations to sigonasr2, who just tied hamburger ham's low score record of -4.
SERVER: Bitter consolations to sigonasr2, who just beat hamburger ham's low score record of -4.
SERVER: Warinthestar continues the sheer domination.
November 23, 2007 - Updated to version 1.1
Security change: Pass config file not filename as first parameter (thanks to Optic Delusion for pointing it out, and to Thumper for the code). Spree sounds are now played when new records are set (thanks to Optic Delusion for the idea).
August 10, 2009 - Updated to version 1.2
Spree sounds caused crashes on some older 2.0 clients which breaks compatibility, so they have been removed until a version of BZFlag is released that fully supports custom plugin sounds.