MySQL Inventory Bridge 2.2.0

[1.7.10 - 1.14.1] Sync your players inventory/armor over many servers using MySQL.

  1. brunyman
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/brunyman/MysqlInventoryBridge
    A simple light plugin that sync players inventory and armor using a MySQL database over as many servers as you like.

    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:
    [​IMG] 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:
    [​IMG] Essentials MySQL Storage Extension


    Features
    • 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.
    How does it work?
    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
    • A MySQL Database
    • (Optional) ProtocolLib - Download
    ProtocolLib is required for modded items support.
    Install instructions
    • 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.
    There are no commands or permissions.

    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!
    [​IMG]


    This plugin is made by CraftersLand Minecraft Community.
    :) Feel free to check us out at: www.craftersland.net

Recent Updates

  1. 1.14.1 Support.
  2. 1.13.2 Support
  3. 1.13.1 Support

Recent Reviews

  1. Zendrique
    Zendrique
    5/5,
    Version: 2.1.2
    I do not know very well mysql and a TUTO from you to know how to make a database will be well
  2. lililili
    lililili
    5/5,
    Version: 2.1.2
    Pretty good.
    Could I take it to china?Get some surprise to chinese players!
    so cool! Could I do this?
  3. robinniclas
    robinniclas
    5/5,
    Version: 1.7.1
    Very Good !
  4. BoolyBoys57
    BoolyBoys57
    2/5,
    Version: 1.7.1
    This plugin is good but player can duplicate item when they pass a portal to go in another server.. Only the armor is duplicate. In fact, helmet,chestplate,.. stay in their slots buts they also go to the inventory.. I don't know if this bug is here because I have a modded server, but now players have a lot of armors..
  5. Two
    Two
    5/5,
    Version: 1.7.1
    This is an awesome plugin, so many different uses outside from what it was made for. I'm going to use this for web based trade system. If this works well I'm sure I will buy the full version.
  6. SlimaKCoder
    SlimaKCoder
    2/5,
    Version: 1.6.1
    1. brunyman
      Author's Response
      Issues are resolved over the discussion page.
  7. kythuat
    kythuat
    5/5,
    Version: 1.6.1
    I downloaded the installation fearing no inventory of all players will be gone! I am concerned because this issue many times in the future and can do double-check the player's inventory in the long run? :(
  8. pooroo
    pooroo
    5/5,
    Version: 1.5.2
    Great! Perfect! Good!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  9. kukubaczek
    kukubaczek
    5/5,
    Version: 1.4.3
    Please add economy, XP, potions, location (?), enderchest support :)

    Very goood plugin. Thanks men!
  10. HoLiSchit
    HoLiSchit
    5/5,
    Version: 1.4.3
    Awesome Plugin, fast support. Gonna buy the full version one day! Keep working on this!