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
Code (Text):
Player commands:
/Stats Check &7Check your stats"
/Stats Player <Player> Check stats of player
/Stats top <Type> Check the top player
/Stats Purge Purge the mysql and variable stats
/Stats Sync Sync the stats with the database
/Stats Reload Reload the skript
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
Code (Text):
#Modify In Web Page Web Skstats/config/db-connect.php
$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 is a free Minecraft Java mod. Downloaded 601 times (via Spigot). Download it and open it directly in the game.