
A server side mod that allows synchronising player data (inventory, health, xp, ...) across different Forge or NeoForge servers.
PlayerSync is a Minecraft mod that keeps your player data synchronized across multiple servers. Seamlessly move between servers in your network without losing your inventory, experience, advancements, or modded items.
PlayerSync uses a central MySQL or MariaDB database to store your player data. When you join a server, your data is loaded from the database. When you leave or your data is saved, it is updated in the database. This ensures your progress is always up to date, no matter which server you play on.
Install the Mod:
Download the PlayerSync mod and place it in the mods folder of each server you want to synchronize.
Configure the Database:
Generate config file by starting server at first.Edit the playersync.toml config file in the config folder to set your database connection details.
Each server should have a unique Server_id.
Start Your Servers:
PlayerSync will automatically create the necessary tables and keep your data in sync.
(Optional) Enable Chat Sync:
Enable chat synchronization in the config if you want messages to be shared between servers.
All options are found in the playersync.toml file in your server’s config folder.
host
The address of your MySQL/MariaDB database server.
Default: "localhost"
db_port
The port for your database server.
Default: 3306
use_ssl
Whether to use SSL for the database connection.
Default: false
user_name
The username for your database.
Default: "playersync"
password
The password for your database.
db_name
The name of the database to use.
Default: "playersync"
Server_id
This value distinguishes each server in your network. Each server must have a unique integer here!
Default: Randomly generated.
truetrue ONLY if you have mod versions older than 1.35 reading the same database.falseitem_placeholder_title_override
Override the title of placeholder items (for missing modded items).
Default: "" (uses default translation)
item_placeholder_description_override
Override the description of placeholder items.
Default: "" (uses default translation)
Q: What happens if I have modded items and join a server without that mod?
A: PlayerSync will create a placeholder item so your original item is not lost. When you return to a server with the mod, your item will be restored.
Q: Is my data safe?
A: Yes! All data is stored in a central database and is not lost when switching servers.
Q: Does this work for singleplayer?
A: PlayerSync is designed for multi-server networks. It is not needed for singleplayer.
Q: What mods are supported?
A: Curios API and Sophisticated Backpacks are supported out of the box. More mod support may be added in the future.
If you have questions or need help, please contact us via Github or Discord.
Enjoy seamless play across all your servers with PlayerSync!