+ Added syncing between servers
+ Added new command /invsave sync, /invsave sync import, /invsave sync unlock, /invsave save, /invsave sync save kickallinsync, /invsave sync unlock, /invsave sync unlock all and /invsave sync unlock player. For more info about commands, check the docs.
+ Added new permissions for this commands.
+ Added new config settings
Code (YAML):
Sync:
General: #Enable or disable syncing function enable: false
#Enable debug messages, when something not work as expected debug: false
Data: #Sync inventory inventory: true
#Sync enderchest enderchest: true
#Sync player location location: true
#Sync xp xp: true
#Sync xp level xpLevel: true
#Sync gamemode gamemode: true
#Sync potions potions: true
#Sync bed location bedLocation: true
#Sync compass location compassLocation: true
#Sync flying flying: true
#Sync sneaking sneaking: true
#Sync fly speed flySpeed: true
#Sync walk speed walkSpeed: true
#Sync health health: true
#Sync max health maxHealth: false
#Sync food food: true
#Sync saturation saturation: true
#Sync money accounts (only when vault is installed) vault: false
Message: #Message to player when player sync is complete Complete: #Enable/disable sync complete message, message is editable in messages.yml file enable: true
Database: #Define database engine, can by: mysql engine: mysql
MySQL:
host: localhost
port: 3306
database: database
user: user
password: password
#Hight recommended for common usage to set true. ssl: true
#Database prefix for tables. prefix: invsave