Search the Community
Showing results for tags 'stats database'.
-
Version 1.2.1
348 downloads
Better Statistics is a advanced statistic plugin which offers a beautiful in-game UI and self hosted responsive website. Steam login for easy profile access Support for multiple servers Search any player by their name View players profiles with a ton of cool stats How does it work? The plugin is setup with two tables via MySQL, one for the wipe and one for the overall stats. When the server wipes, all data is automatically moved over to and added to the overall table and the wipe table is then cleared. When do the stats save for each player? There is a automatic timer that you can set to have every players stats sync to the database. By default the players data is synced when they leave the server, and the automatic timer just in-case of a server crash. There is also a command that can be used from the server console to save a players stats or all players stats. What stats does it track? Name Steam ID Connection Count Playtime Kills Deaths (Deaths to players) Kill Death Ratio Overall Accuracy Suicides Times Wounded Satchels Thrown C4 Thrown Rockets Fired TC's Destroyed NPC Kills Chickens Boars Stags Horses Wolves Bears Scientists Helicopters Bradley's 16. Weapon Kills Assault Rifle LR-300 M39 L96 BOLT M249 HMLMG MP5 Thompson Custom SMG Pump Shotgun Double Barrel Spaz-12 M92 Python Semi Auto Pistol Revolver Waterpipe Eoka Pistol Compound Bow Crossbow Hunting Bow 17. Body Hits Head Torso Left Arm Right Arm Left Leg Right Leg Left Foot Right Foot Requirements: A MySQL Server that the stats can be saved to Config: { "MySQL Database Connection Info": { "Host IP": "localhost", "Port": 3306, "Database name": "betterstatistics", "Username": "root", "Password": "" }, "Server Prefix (For tables Ex: main_stats_wipe, main_stats_overall)": "main", "Save Interval (Mins) (0 = Disabled)": 10 } Player Commands: /stats - Opens up local players stats /stats {playerid} - Opens up stats of the given player id Server Commands: stats.save - Saves every players stats that are connected to the server stats.save {playerid} - Saves the given player id's stats as long as they are on the server Requirements: A web server to be able to host the PHP Site. Config: <?php return array( 'ServerName' => 'TEST SERVER', 'SiteDescription' => 'Stats Website Template developed by Billy Joe', 'SteamAPIKey' => '', 'backgroundImage' => 'https://files.facepunch.com/paddy/20220705/july_2022_header.jpg', 'servers' => array( 'server1' => array( 'serverIcon' => 'https://i.imgur.com/txD5xqH.png', 'ipAddress' => 'localhost', 'username' => 'root', 'password' => '', 'databaseName' => 'betterstatistics', 'wipe' => 'main_stats_wipe', 'overall' => 'main_stats_overall' ), 'server2' => array( 'serverIcon' => 'https://i.imgur.com/i7xGabr.png', 'ipAddress' => 'localhost', 'username' => 'root', 'password' => '', 'databaseName' => 'betterstatistics', 'wipe' => 'main_stats_wipe', 'overall' => 'main_stats_wipe' ), 'server3' => array( 'serverIcon' => 'https://i.imgur.com/0sAs3Ee.png', 'ipAddress' => 'localhost', 'username' => 'root', 'password' => '', 'databaseName' => 'betterstatistics', 'wipe' => 'main_stats_wipe', 'overall' => 'main_stats_overall' ), ) ); ?>$49.99- 80 comments
- 4 reviews
-
- 3
-
- #stats
- #statistics
- (and 5 more)