Sueta

[Web|Skript] SkStats save all stats on mysql server

1.1

Save all on mysql server

·Plugin

SkStats
With skstats you can save everything information of a player on mysql data base.
Require:
Skript: dev.bukkit.org/bukkit-plugins/skript/
SkQquery: http://dev.bukkit.org/bukkit-plugins/skquery/

Install:
Place this script in /plugins/skript/scripts
Open with text editor
Restart
Enjoy!

Permission:

SkStats.commands.player Allow /stats command
SkStats.commands.admin Allow to see admin command
SkStats.commands.purge Allow to purge MySql
SkStats.commands.sync Allow to sync to database

Commands:

Player commands:[/U][/U]
[U][U]/Stats Check &7Check your stats"
/Stats Player <Player> Check stats of player
/Stats top <Type> Check the top player

[IMG]http://icons.iconarchive.com/icons/enhancedlabs/longhorn-pinstripe/32/cmd-icon.png[/IMG] Admin commands:
/Stats Purge Purge the mysql and variable stats
/Stats Sync Sync the stats with the database
/Stats Reload Reload the skript
ScreenShot

Configuration
# In Script
script options:
    $ db url jdbc:mysql://localhost:3306/<Your db name here>
    $ db username <username>
    $ db password <password>

options:
    table_prefix: Stats_ <--- Table prefix
    refresh: 300  <--- Sync timer
#Modify In Web Page Web Skstats/config/db-connect.php
$password = "your password";
$user = "username";
$host = "localhost";
$db = "stats";
$table_prefix = "stats_";

Similar projects

Plugin →