Plugin Name: N1G-TF2-RANK
This is a Stats Plugin for TF2 with optional MYSQL and optional webinterface
Servers Using this Plugin:
http://www.game-monitor.com/search.p..._stats_version or ingame with the sv_tag n1grank
If Somebody want to Contact the Author of this Plugin directly or want to get Plugin Update News on Steam join this Group:
http://steamcommunity.com/groups/TF2STATS
how2install it:
without mysql and webinterface:
1. Copy the *.smx file into your plugin's folder.
2. Play
with mysql: (needed for the webinterface)
1. Enter the Database you would use into the source mod db config file
PHP Code:
"tf2stats"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "tf2_stats"
"user" "tf2st_usr"
"pass" "dbpassword"
//"timeout" "0"
"port" "3306"
}
Note:
sourcemod needs a restart to read the new dbconfig
2. Copy the *.smx file into your plugin's folder.
3. Play
Cvars:
PHP Code:
//////////////// Settings /////////////////////
// enable disabling of the Ranking after roundwin
rank_disableafterroundwin "1"
// enable / disable the Extendedlogging
rank_extendetlogging "0"
// "Defines the time until a entry in the Kill log gets removed in hours 0 = disabled"
rank_extlogcleanuptime "72"
// How many clients are needed to start ranking
rank_neededplayers "0"
// Enable Automatic Removing Maps who wasn't played a specific time on every Roundend
rank_removeoldmaps "1"
// The time in days after a map get removed, min 1 day
rank_removeoldmapsdays "14"
// Enable Automatic Removing Player who haven't conected a specific time on every Roundend
rank_removeoldplayers "1"
// The time in days after a player get removed if he havn't connected, min 1 day
rank_removeoldplayersdays "14"
// Show Rank on connect, 0=disabled, 1=clientchat, 2=allchat, 3=panel, 4=panel + all chat
rank_show "4"
// Show Top 10 on Roundend
rank_showrankonroundend "1"
// Enable/Disable Webrank
rank_webrank "0"
// Webrank url like http://compactaim.de/tf2stats/
rank_webrankurl "http://compactaim.de/tf2stats/"
// Display points add message 0 = disabled, 1 = all, 2 = only who earned
rank_pointmsg "2"
//Play a sound if a player connects? 1= Yes 0 = No
rank_connectsound "1"
//Set the Soundfile who get played if someone connects
rank_connectsoundfile "buttons/blip1.wav"
//show the rankchatcommands to every one 1 = yes 2= no
rank_showchatcommands "1"
//show rank to all players if someone type rank
rank_showranktoall "1"
//Set the Chattag
rank_chattag "RANK"
//////////////// Event points /////////////////////
// Set the points the blocker get
rank_blockcapturepoints "4"
// Set the points the capturing team get
rank_capturepoints "4"
// Set the points the capturing team get
rank_filecapturepoints "4"
// Set the points the medic get if he overcharge someone
rank_overchargepoints "1"
rank_stealsandvichpoints "1"
//////////////// Building destroy points /////////////////////
rank_killdisppoints "2"
rank_killsapperpoints "1"
rank_killsentrypoints "3"
rank_killteleinpoints "1"
rank_killteleoutpoints "1"
//////////////// Kill points /////////////////////
// Set the points a player lose on Death
rank_Scoutdiepoints "2"
rank_Soldierdiepoints "2"
rank_Pyrodiepoints "2"
rank_Medicdiepoints "2"
rank_Sniperdiepoints "2"
rank_Spydiepoints "2"
rank_Demomandiepoints "2"
rank_Heavydiepoints "2"
rank_Engineerdiepoints "2"
// Set the points the medic assister get on a kill
rank_killasimedicpoints "2"
// Set the points the assister get on a kill
rank_killasipoints "2"
// Set the points the extingushing get
rank_extingushingpoints "1"
//////////////// Weapon kill points /////////////////////
// Set the points the attacker get
rank_axtinguisherpoints "4"
rank_backburnerpoints "2"
rank_batpoints "4"
rank_bat_woodpoints "4"
rank_blutsaugerpoints "2"
rank_bonesawpoints "4"
rank_bottlepoints "4"
rank_clubpoints "4"
rank_deflect_promodepoints "2"
rank_deflect_rocketpoints "2"
rank_deflect_stickypoints "2"
rank_fireaxepoints "4"
rank_fistspoints "4"
rank_flamethrowerpoints "2"
rank_flaregunpoints "3"
rank_killingglovespoints "4"
rank_knifepoints "2"
rank_minigunpoints "1"
rank_nataschapoints "1"
rank_obj_sentrygunpoints "3"
rank_pistolpoints "3"
rank_revolverpoints "3"
rank_scattergunpoints "2"
rank_shotgunpoints "2"
rank_shovelpoints "4"
rank_smgpoints "3"
rank_sniperriflepoints "1"
rank_syringegun_medicpoints "2"
rank_taunt_heavypoints "6"
rank_taunt_pyropoints "6"
rank_tf_projectile_pipe_remotepoints "2"
rank_tf_projectile_pipepoints "2"
rank_tf_projectile_rocketpoints "2"
rank_ubersawpoints "4"
rank_worldpoints "4"
rank_wrenchpoints "4"
rank_tf_projectile_arrowpoints "1"
rank_taunt_spypoints "6"
rank_ambassadorpoints "2"
rank_taunt_sniperpoints "6"
rank_force_a_naturepoints "2"
rank_sandmanpoints "3"
rank_compound_bowpoints "2"
rank_taunt_scoutpoints "6"
rank_deflect_arrowpoints "6"
IngameUsage:
Type into Ingame chat:
"rank" to get your rank
"top10" to get the top 10
"players" to get a list of ingame players
"webrank" to get your webrank
"webtop" to get the webtop
"session" to get informations about your session
"hidepoints" to hide the points you get
"unhidepoints" to show the points you get
Webinterface Demos:
http://compactaim.de/tf2stats/ <--demo
Webinterface: version 5.5.0
Webinterface Changes:
PHP Code:
*moved into the Zip file*
Plugin: version 5.0
Plugin Changes:
PHP Code:
*moved into the Zip file*
Planed Features:
Post feature requests and maybe i will add it
Plugin update is possible without restarting the gameserver in 2 simple steps:
1. replace the smx plugin file
2. rcon command: sm plugins reload n1g-tf2-stats
or get the Pluginmanager: http://forums.alliedmods.net/showthread.php?p=719212
Announcement:
Development is now splitet
I (R_Hehl aka R5053) Code the Plugin
and :
Smokestormx Code / Design the Webinterface (Thank You
)