MR InvSync

Fabric mod for syncing inventories and player data between minecraft servers

by
605 Downloads
fabricutility
Rent Server with this Mod

About this Mod

PRs Welcome
MIT license
Download on modrinth

MR InvSync

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.

Why this fork?

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!.

Installation

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.

Example configuration

Path: /config/InvSync.mcfg

DATABASE_TYPE=SQLITE
DEBUG_DELETE_TABLES=false
SQLITE_PATH=./InvSync.db
MYSQL_DATABASE=InvSync
MYSQL_ADDRESS=mysql-host
MYSQL_PORT=3306
MYSQL_USERNAME=username
MYSQL_PASSWORD=password
POSTGRES_DATABASE=InvSync
POSTGRES_ADDRESS=postgres-host
POSTGRES_PORT=5432
POSTGRES_USERNAME=username
POSTGRES_PASSWORD=password
SYNC_INVENTORY=true
SYNC_ENDER_CHEST=true
SYNC_HEALTH=true
SYNC_FOOD_LEVEL=true
SYNC_XP_LEVEL=true
SYNC_SCORE=true
SYNC_STATUS_EFFECTS=true
SYNC_ADVANCEMENTS=true
SYNCHRONIZATION_DELAY=true
SYNCHRONIZATION_DELAY_SECONDS=1
SYNCHRONIZATION_DELAY_METHOD=SLEEP
INITIAL_SYNC_OVERWRITE_ENABLED=true
INITIAL_SYNC_SERVER_NAME=ServerA

License

MIT License

Available Versions

1.0.3-225release
MC 1.19.1, 1.19.2, 1.19.3fabric
February 2, 2023
1.0.2-224release
MC 1.19.1, 1.19.2, 1.19.3fabric
January 27, 2023
1.0.1-220-c9ba7d4brelease
MC 1.19.1, 1.19.2, 1.19.3fabric
January 9, 2023
1.0-1-79f7b86erelease
MC 1.19.1, 1.19.2, 1.19.3fabric
January 6, 2023

How to Install MR InvSync on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.3).

3

Install Mod

Open the mod browser in the dashboard and search for "MR InvSync". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.19.3, 1.19.2, 1.19.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

MR InvSync server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.3). You can switch loaders with one click in the panel.

Is MR InvSync compatible with fabric?

MR InvSync officially supports fabric for Minecraft 1.19.3, 1.19.2, 1.19.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with MR InvSync – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MR InvSync consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install MR InvSync with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.19.31.19.21.19.1