it's a fabric mod to sync player data between fabric servers. this needs only server side. this mod can sync player's air, health, enderChest, exhaustion, foodLevel, saturationLevel, foodTickTimer, inventory, offhand, armor, selectedSlot, experienceLevel, and experienceProgress.
Caution
- you need to build mysql server with 8.0.36 or higher.
- you need to link fabric servers with proxy server!(like velocity, bungeecord, etc...)
- add this mod to server mods folder.
- restart server.
- edit config file which is in config/mpdsconfig file.
- let's play!
{
"_Hcomment_" : "it's mysql host ip",
"HOST" : "000.000.000.000",
"_Dcomment_" : "it's mysql database name **YOU MUST CREATE THIS DB!!**",
"DB_NAME" : "minecraft",
"_Tcomment_" : "it's mysql table name(auto create)",
"TABLE_NAME" : "player",
"_Ucomment_" : "it's mysql user name",
"USER" : "foo",
"_Pcomment_" : "it's mysql user's password",
"PASSWD" : "bar",
"_Scomment_" : "it's this server name",
"SERVER" : "s",
"_DJMcomment_" : "disable join message",
"DJM" : "false",
"_DSMcomment_" : "disable skip message",
"DSM" : "false",
"_DEMcomment_" : "disable error message",
"DEM" : "false"
}
Sources are in another branch.