This is a fabric mod that allows you to sync player inventories, health, food level, experience, score, status effects and advancements across multiple servers or single player minecraft worlds. SQLite, MySQL and Postgres are supported as data backends.
This mod was initially forked from MrNavaStar. His original mod can be found on github and modrinth. Reasons for this fork are:
- At the time the project was forked, the database handling was messed up by using an all-in-one table for the player data defined in SQLib
- At the time the project was forked, for each SQL call a database connection was established
- Having a separate upstream for production environment testing
- Details are list in issue #1
You can support MrNavaStar by buying him a coffee!.
This mod requires Fabric and Fabric API.
This mod is available on modrinth with slug mr-invsync
.
The project source is available on github/michiruf with the latest
readme here.
The configuration of the database must be identical between all servers that shall sync the inventory.
Path: /config/invsync.json