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.
- 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
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.
- Supports any Economy system that works with Vault.
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
Install instructions
- Vault - Download
- Any Economy system compatible with Vault
- MySQL Database
There are no commands or permissions.
- 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.
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!
This plugin is made by CraftersLand Minecraft Community.
Feel free to check us out at: www.craftersland.net

MySQL Economy Bridge 3.4.1
[1.7.10 - 1.15.2] Sync your economy accounts over many servers using MySQL.
Recent Updates
- Spigot 1.15 support Dec 15, 2019
- 1.14 Support. May 11, 2019
- Improvements Oct 9, 2018
Recent Reviews
-
KerbalFun123
- 2/5,
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. -
The_Mr_Mes109
- 3/5,
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+
-
LH4005
- 4/5,
This is a very good plugin, Though my server lags A TON Please Update Thanks :) - Logan
-
-
avilal
- 4/5,
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.
-
JW677
- 5/5,
Works perfectly in all versions, Allowed me to finish the backend to my tournament project. Please keep updating, Thanks for this AMAZING plugin!
-
NiKunHax
- 5/5,
It works perfectly and I am using it from 1 year, however it would be good to add an Essentials Extension, so that if I add money to an offline player they don't get resetted to the old value.
-
Kedarin
- 1/5,
Data not sync if player is disconnected maybe the developper think it's not an important feature
-
TravelerJay
- 4/5,
Plugin works perfectly, would give 5 stars if it supported all economy plugins. The one I currently use does not work with this plugin.
-
LightPlay
- 4/5,
Good plugin worked as expected, but I have a small problem, and when I execute the command / eco give (player) [when a player is disconnected] the money says that it is applied and if you go to the mysql it says that if it is applied, but when the player connects the money goes back to the one he was before applying the money he added. that is, if you execute the command / eco give 1000 and the player has 500, he should have 1500 money but the player when entering server does not apply those 1000 and is left with 500. Any solution? Thanks for the plugin!
-
Author's Response
Hi, yes, support for essentials economy will need to be added