With skstats you can save everything information of a player on mysql data base.
Skript: dev.bukkit.org/bukkit-plugins/skript/
SkQquery: http://dev.bukkit.org/bukkit-plugins/skquery/
Place this script in /plugins/skript/scripts
Open with text editor
Restart
Enjoy!
Code (Text):
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
SkStats.commands.admin Allow to see admin command
SkStats.commands.purge Allow to purge MySql
SkStats.commands.sync Allow to sync to database
Code (Text):
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
[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
Spoiler: ScreenShot
Spoiler: Configuration
Code (Text):
# 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
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
Code (Text):
#Modify In Web Page Web Skstats/config/db-connect.php
$password = "your password";
$user = "username";
$host = "localhost";
$db = "stats";
$table_prefix = "stats_";
$password = "your password";
$user = "username";
$host = "localhost";
$db = "stats";
$table_prefix = "stats_";
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[Web|Skript] SkStats save all stats on mysql server is a free Minecraft Java mod. Downloaded 4,152 times (via Spigot). Download it and open it directly in the game.