MySQL Economy Bridge 3.4.1

[1.7.10 - 1.15.2] Sync your economy accounts over many servers using MySQL.

  1. brunyman
    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
    Source Code:
    https://github.com/brunyman/MysqlEconomyBridge.git
    A simple light plugin that uses Vault to sync players economy accounts to a MySQL database to create a global economy system over many spigot servers. Can be useful to sync a hub economy. This is NOT a bungee plugin.

    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.
    • Supports any Economy system that works with Vault.
    How does it work?
    It listens for server join and leave events to sync the economy over mysql database to share it over many servers. When a player leaves/disconnects a server the plugin uploads the players balance 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 economy.

    Dependencies
    • Vault - Download
    • Any Economy system compatible with Vault
    • MySQL Database
    Install instructions
    • Place the plugin in the server plugins folder. Make sure you have an economy system installed and Vault.
    • 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. You can sync as many servers economy accounts as you like.
    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)
    dataTableName: 'eco_accounts'
    #User name
    user: 'admin'
    #User password
    password: 'cheesecake'
    #SSL connection
    sslEnabled: false
    #This maintenance task runs async with a 2 min delay after the server starts.
    removeOldAccounts:
    #Enable or disable database clean up of old accounts. | (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

    Note!
    This plugin does not create an economy system, it only uses Vault to sync an existing economy system over mysql.


    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
    [​IMG]
    TNT_JOHNN, SkyDrawn, SanyaFox and 8 others like this.

Recent Updates

  1. Spigot 1.15 support
  2. 1.14 Support.
  3. Improvements

Recent Reviews

  1. RuffNeck
    RuffNeck
    5/5,
    Version: 3.4.1
  2. XxminixX
    XxminixX
    4/5,
    Version: 3.4.1
    Please upgrade to 1.18, my server needs this plugin too much! I'm sad :(((((((((((((((((((((
  3. KnowItAllNet
    KnowItAllNet
    3/5,
    Version: 3.4.1
    I really like this plugin, but I need this plugin for 1.17, please update this plugin! :)
  4. XDRGAMING_S4
    XDRGAMING_S4
    3/5,
    Version: 3.4.1
    PLEASE UPDATE THIS TO 1.17.1 I NEED THIS FOR MY MINECRAFT PLEASE. also good plugin :)
  5. GamingYochi
    GamingYochi
    4/5,
    Version: 3.4.1
    Please Update to 1.17

    :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  6. KerbalFun123
    KerbalFun123
    2/5,
    Version: 3.4.1
    Plugin disables itself despite vault being installed. This is an issue I have had with other plugins and is just simply malpractice. Plugins load at different times and different rates. Simply put your plugin fails to recognize that vault has hooked into an economy plugin and self disables, because most economy plugins hook way later than your plugin checks.
    Example: Easyconomy reloaded
    Easyconomy loads in and successfully hooks into vault ( I know this because it registers itself and works with other plugins) towards the end of server startup. Nothing wrong with that. Now, your plugin does not check then and disables itself right after vault loads. I had to deal with another plugin having this issue and it is an incredibly simple fix.
    Remove the self disabling. Plain. And. Simple. I can't and will not change out my economy plugin because the others are too dated or would require me redoing my economy system.
    If you fix this and change this I would rate 5 stars because otherwise, this is not a bad plugin.
  7. The_Mr_Mes109
    The_Mr_Mes109
    3/5,
    Version: 3.4.1
    Support 1.16 will be ? How long ago did I use this plugin and I liked its work. I use bungeecord with different versions of minecraft and I would like this plugin to work on 1.16+
  8. LH4005
    LH4005
    4/5,
    Version: 3.4.1
    This is a very good plugin, Though my server lags A TON Please Update Thanks :) - Logan
  9. Yellowbarmitzwa
    Yellowbarmitzwa
    5/5,
    Version: 3.4.1
    AWESOME !
  10. avilal
    avilal
    4/5,
    Version: 3.4.1
    Works well as designed. I did not read the fine print that offline players cannot have their funds increased using Essentialx(s). Please rally in Discord to request this support be added.