Raised This Month: $ Target: $400

SoD Player Stats

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Join Date: Dec 2007
Plugin ID:
Plugin Version:
Plugin Category:
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    A simple stats plugin with SQlite support.
    Old 02-22-2008 , 01:47   SoD Player Stats
    Reply With Quote #1

    For CSGO (protobuf) update : see this post - Written by RedSword

    SoD Stats


    If you're looking for a stats plugin that takes hours to setup and daily maintenance, then look somewhere else. This stats plugin has a zero-configuration install. Just unzip this to your server and join the game. It just works.

    Don't worry about upgrades either. When there's a new version, just unzip the new files and your stats will be automatically and seamlessly updated.

    Simple is good.

    Setup & Upgrade

    Unzip sodstats.zip to your game directory.

    When upgrading to version 1.0.10 you may have to reset stats and change the map upon first run.

    Statistics Information
    A players gains two points per kill, plus one extra point for each 100 points higher his victim's score is. The victim loses the equivalent number of points. This is done so that a really good player cannot boost his score by killing beginners over and over again; likewise, when a skilled player connects he can reach a high rating quickly because everyone else will start out with a much higher score.

    This is hardly a tried and tested method, but from testing on my own server, it did seem to correctly identify the skill level of the players. It slightly rewards playing time, but mostly individual skill.

    When I get the time, I'll add a team score for games like TF2 and DoD:S.


    sm_stats_enabled - [1/0] - Enables/disables stat storing and say commands.
    sm_stats_startpoints - [0-10000] - Sets the starting points for new players.
    sm_stats_displaymode - [0/1/2] - Changes who sees chat output. (0: public rank display, 1: private rank display, 2: chat rank display).


    sm_stats_reset - Resets player stats.
    sm_stats_purge [#days] - Removes players from database who haven't connected for [#days] days.

    Say "rank" to see your rank.
    Say "top" or "top10" to see the top ten players.
    Say "session" or "statsme" to see your session and stats information.


    This plugin uses the default "storage-local" database. The goal was to make a simple copy/paste plugin without configuration. If you want players to be stored in a different database, I will add a configuration file.

    If the top10, statsme and session menus are appearing incorrectly in your mod, then read the following thread:
    (Credits to Warnink for finding this)

    If you are running DoD:S and downloaded v1.0.11 before August 13th, please redownload to obtain the DoD:S hotfix.


    The SourceMod team and everyone whose plugins I reviewed to learn SourcePawn.
    mplostcause - for testing on DoD:S
    misfit - for testing on TF2
    Sgt-Mess, Bl1nk, PStar, Box Cutter, Guardia Republicano - for testing v1.0.11

    Pending Features

    Translations (I'll need some help!)
    Kill-to-Death ratio in "rank"

    sm_stats_resetrank <STEAM_ID>
    sm_stats_minkills <#kills>
    sm_stats_countbots <1/0>

    Zombie Panic!:
    Removing penalty for deaths (please PM me if you have a better idea for a Zombie Panic! point system)

    8/03/2008 - Version 1.0.11 -
    Added headshot stats for DoD:S. Added purging. Fixed MySQL bugs. Added text display modes. Fixed some crashes. Removed 'active_badges' column from database.

    5/26/2008 - Version 1.0.10 -
    Added colored text. Added headshot logging for counter-strike. Added "sm_stats_startpoints" cvar. Shows points to next rank when saying "rank".
    3/11/2008 - Version 1.0.9 -
    Added default functionality for unknown mods.
    3/03/2008 - Version 1.0.8 -
    Added support for EmpiresMod.
    3/03/2008 - Version 1.0.7 -
    Added support for FortressForever mod.
    3/02/2008 - Version 1.0.6 -
    Fixed incorrect time_joined problem in CreatePlayer.
    3/01/2008 - Version 1.0.5 -
    Rewrote to use natives.
    2/28/2008 - Version 1.0.4 -
    Added time-played.
    2/27/2008 - Version 1.0.3 -
    Added support for TF2/DoD:S - needs testing. Added code for ingame "badges," but commented out for future use.
    2/23/2008 - Version 1.0.2 -
    Added highlighting to "statsme" menu.
    2/22/2008 - Version 1.0.1 -
    Added "statsme" and "session". Fixed a bug with accuracy.
    Attached Files
    File Type: zip sodstats.zip (32.9 KB, 41971 views)

    Last edited by RedSword; 03-24-2015 at 17:10. Reason: updated first line
    FrostbyteX is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 05:06.

    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode