A simple light plugin that sync players inventory and armor using a MySQL database over as many servers as you like.
- Native Minecraft Version:
- 1.13
- Tested Minecraft Versions:
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- Source Code:
- https://github.com/brunyman/MysqlInventoryBridge
Do you want to save players data (Inventory, Enderchest, Money, Health, Exp and more...) on MySQL database? Or sync players data across servers? Then check out my other plugin:
MySQL Player Data Bridge
Do you want to save Essentials data on MySQL database? Or sync Essentials data across servers? Then consider checking out my other plugin:
Essentials MySQL Storage Extension
Features
How does it work?
- Premium UUID and Offline UUID support.
- MySQL Database only.
- Sync players inventory.
- Sync players armor, this can be disabled in the config.
- Modded items support.
- Database maintenance task to remove inactive users.
It listens for server join and leave events to sync the players inventory to a mysql database to share it over many servers. When a player leaves/disconnects a server the plugin uploads the players inventory to the mysql database. When the player joins the server the plugin checks the mysql database for his account and syncs it to the server he just joined.
Dependencies
ProtocolLib is required for modded items support.
- A MySQL Database
- (Optional) ProtocolLib - Download
Install instructions
There are no commands or permissions.
- Place the plugin in the server plugins folder.
- Start the server to generate the config, then stop the server.
- Open the config and set up the database connection details. You need to create the database, then the plugin will create the tables on it's own.
- Start the Server. Done, enjoy. Share exp on as many servers as you need.
Configuration example:
#MySQL Database details
database:
mysql:
#MySQL server address
host: 127.0.0.1
#MySQL server port (default 3306)
port: 3306
#Database name (NOTE! You need to create the database, then the plugin will create the tables.)
databaseName: 'mydatabase'
#Tables name (the plugin will auto create it)
tableName: 'meb_inventory'
#User name
user: 'admin'
#User password
password: 'cheesecake'
#SSL connection
sslEnabled: false
#Remove inactive users from the database. This maintenance task will start each server start with a 2min delay.
maintenance:
#Enable or disable database maintenance. | (true or false)
enabled: false
#Inactivity in days. Default 60 days.
inactivity: 60
#Other configurable options
General:
#Save online players accounts to database task. Disable this task and data will only be saved when the player disconnects.
#To limit data loss in case the server crashes enable this saving task. It runs async so there will be no lag involved.
saveDataTask:
#Enable or disable the data save task. | (true or false)
enabled: true
#Time between data saves in minutes. | Default 3 min.
interval: 3
#Hide the data save task log messages.
hideLogMessages: false
#Login economy sync delay in milliseconds (default 1000 milliseconds = 1 second)
#This delay is needed in bungeecord setups, because when you move between servers the quit and login takes place almost in the same time.
loginSyncDelay: 1000
#Set this to false to disable the sync of players armor. | (true or false)
syncArmorEnabled: true
#Enable modded items support. This will require the ProtocolLib dependency! | (true or false)
#This is needed if you experience item data loss on some mods that save NBT data.
enableModdedItemsSupport: false
#Disable sounds generated by this plugin. The sync confirmation sound for example. | (true or false)
disableSounds: false
#Debug console messages.
Debug:
#Inventory sync debug messages.
InventorySync: false
#Chat Messages with full color and format codes support. Disable any message by setting it to '' | Example> syncComplete: ''
#Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes
ChatMessages:
syncComplete: '&2[MIB] &aData sync complete!'
inventorySyncError: '&4[WARNING] &cError loading your inventory! Contact the staff team.'
inventorySyncBackup: '&6[!] &eRestored the local inventory! Don''t leave items in your inventory when you disconnect!'
If you like this resource and want to say thank you with a donation please use this PayPal button. Thanks!
This plugin is made by CraftersLand Minecraft Community.
Feel free to check us out at: www.craftersland.net

MySQL Inventory Bridge 2.4.1
[1.7.10 - 1.16.3] Sync your players inventory/armor over many servers using MySQL.
Recent Updates
- 1.16.3 support Sep 16, 2020
- 1.16 support Jul 23, 2020
- 1.15.2 support Jan 29, 2020
Recent Reviews
-
armarni
- 4/5,
Hi read please and help - I have 2 servers that i want linking (bungee) and i need a plugin where you can link them for example: you earn something in server2 (secondary sever) and gives you it in server 1(primary server) but server1 (primary server) dosent share that primary loot into server2 (sec.. server). May be a lil confusing lol!
-
__Vekster007__
- 5/5,
Nice plugin! Supports 1.16, no bugs noticed! But its a pity that there is no synchronization of a ender chests.
-
XxminixX
- 5/5,
I think the plugin is great, of course there are always plugins where there are errors but this cannot be avoided
-
Casidesigns
- 2/5,
It's quite a poor plugin, there are some issues with the plugin, and the developer seemingly has no interest in fixing them.
If you buy this plugin, expect there to be problems, and don't expect the developer to respond to you, nor fix any of the issues.
At this point in time, I cannot recommend people purchasing this resource. -
ZacharyMSL
- 2/5,
there is a huge bug with this plugin , when player re-login with inventory was full . player will pickup the drop items in the delay and back to mysql database saves . it makes the drop items disappear . plz fix this
-
Dr_Schnippel
- 3/5,
EnderChest is not Supported?! The rest works fine. Please add EnderChest Support than i will give 5 Stars! Nice Work by the Way
-
JJBZ03
- 4/5,
Everything works except for something really small that is screwing up my game play specifically. I don't know what other tags are wrong, but I had TNT in my inventory that had a special block data tag that made it so that when hit, it would fuse. It's called the unstable block data tag. When I re-log onto my server, it doesn't do that anymore. I found out why too. The data tag value is usually "true" but it set it to 1b. That made it not work, because it is not it's current value. I used this in 1.14 btw.
-
Author's Response
Do you use ProtocolLib library? Try adding it. It should help save data that is not accessible from Spigot API alone.
-
draexo
- 5/5,
What can I say? It works great. The most difficult part is setting up the MySQL server
-
happyhappy61
- 5/5,
Thank you for your great work, it completely saves my server from abnormal data loss as an extra inventory backup system. Have a nice day!
-
Zendrique
- 5/5,
I do not know very well mysql and a TUTO from you to know how to make a database will be well