MrNavaStar / InvSync

This is a fabric mod for syncing inventories and player data between all of your minecraft servers! (Or as many as you choose :blush:)
MIT License
32 stars 15 forks source link

Add names servers and rules for this? #38

Open Siorinex opened 2 years ago

Siorinex commented 2 years ago

Pls, add names for servers and rules: Example: I have 5 servers: Lobby, 2 survivel server (Overworld and Nether) for Classic and 2 survivel for mods.

Items from & to Lobby - not sync, 2 classic - sync all in pair, but not from & to mod`s...

In config for Lobby:

[main]
DATABASE_TYPE=MYSQL
DATABASE_NAME=InvSync
SQLITE_DIRECTORY=/path/to/folder
MYSQL_ADDRESS=ip
MYSQL_PORT=port
MYSQL_USERNAME=invsync
MYSQL_PASSWORD=password
SERVER_NAME=survival_classic_nether

[default]
SYNC_CREATIVE_MODE=false
SYNC_INVENTORY=false
SYNC_ENDER_CHEST=false
SYNC_HEALTH=false
SYNC_FOOD_LEVEL=false
SYNC_XP_LEVEL=false
SYNC_SCORE=false
SYNC_STATUS_EFFECTS=false
SYNC_ADVANCEMENTS=true

[survival_classic_overvorld]
SYNC_CREATIVE_MODE=false
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
MrNavaStar commented 2 years ago

I mean, I guess I could, but wouldn't it be easier to just not put the mod on the lobby server? And just point the servers you want separate at separate databases.