Langue

MR InvSync

Modrinth

Fabric mod for syncing inventories and player data between minecraft servers

607 téléchargements 4 abonnés mis à jour 41mo ago
Modrinth
Fabric 1.19.1 – 1.19.3 Utility

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

Versions

Aucun historique de versions. Utilise le bouton Télécharger pour obtenir la dernière depuis la source.

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

Télécharger MR InvSync

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.