Everything can be customized with the plugin configuration file
The synchronization is asynchronous and prevents the main process of the server from being affected
Stats are stored in a mysql database
Only one database entry per player (low memory consumption)
Bukkit/Spigot/PaperSpigot support
UUID support
Synchronization process: When a player enters the server his statistics are loaded from the database and the values are written to the current server. When leaving the server the new values are written to the database.
In the background an auto-save task is running, which synchronizes the statistics of all online players with the database in a certain interval.
Requirements:
Bukkit/Spigot/PaperSpigot (1.9.x-1.19.x)
MySQL database
Installation:
Download the plugin
Place it in the plugins folder of the server
Start the server
Open the config.yml in the PlayerStatsSync folder
Set the mysql connection data in the config.yml file
Restart the server
Done
Commands:
/playerstatssync reload - Reloads the config file
/playerstatssync forcesave - Stores the statistics of all online players in the database
/playerstatssync import - Import existing player statistics into the database, will skip users that are already in the database
Permissions:
playerstatssync.* - Permission for all PlayerStatsSync commands
playerstatssync.command.reload - Permission for /playerstatssync reload
playerstatssync.command.forcesave - Permission for /playerstatssync forcesave
playerstatssync.command.import - Permission for /playerstatssync forcesave
Config:
Code (Text):
debug-messages: false
mysql:
hostname: localhost
port: 3306
database: playerstatssync
table: stats
username: username
password: password
use-ssl: false
auto-save:
interval: 5
show-messages: true
messages:
forcesave-starting: '&8[&ePlayerStatsSync&8] &fStart saving the stats of all online players...'
forcesave-completed: '&8[&ePlayerStatsSync&8] &fStats of all online players have been saved.'
import-starting: '&8[&ePlayerStatsSync&8] &fStart importing stats of all local saved players...'
import-progress: '&8[&ePlayerStatsSync&8] &f%percent%% of the locally stored players were imported.'
import-completed: '&8[&ePlayerStatsSync&8] &fStats of all local saved players have been imported.'
reload: '&8[&ePlayerStatsSync&8] &fConfig has been reloaded.'
Terms of Use: By purchasing this plugin or downloading new versions you accept the following terms of use:
You are not allowed to share this plugin with somebody else!
You cannot claim the code of the plugin belongs to you!