Description
PlayerSync
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.
Features
- Inventory Sync: Your main inventory, armor, ender chest, and offhand items are always up to date on every server.
- Experience & Stats: XP, health, food, and score are preserved as you travel between servers.
- Advancement Sync: Your achievements and advancements follow you everywhere.
- Potion Effects: Active potion effects are restored when you join a new server.
- Mod Support:
- Placeholder Items: If a modded item is missing on a server, a placeholder is created so nothing is lost.
- Chat Sync (Optional): Synchronize chat messages between servers (can be enabled in config).
How It Works
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.
Getting Started
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.
Configuration Options
All options are found in the playersync.toml
file in your server’s config
folder.
Database Settings
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.
Synchronization Options
- sync_advancements
Whether to synchronize advancements (achievements) between servers.
Default:
true
Serialization Options
- use_legacy_serialization
Use the old (pre-Base64) serialization format for writing data to the database.
Set to
true
ONLY if you have mod versions older than 1.35 reading the same database.
Default: false
Placeholder Item Options
item_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)
FAQ
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.
Support
If you have questions or need help, please contact us via the mod page or our Discord server.
Enjoy seamless play across all your servers with PlayerSync!
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.