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:
- Tested Minecraft Versions:
- Source Code:
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
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.
- 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.
#MySQL Database details
#MySQL server address
#MySQL server port (default 3306)
#Database name (NOTE! You need to create the database, then the plugin will create the tables.)
#Tables name (the plugin will auto create it)
#This maintenance task runs async with a 2 min delay after the server starts.
#Enable or disable database clean up of old accounts. | (true or false)
#Inactivity in days. Default 60 days.
#Other configurable options
#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.
#Enable or disable the data save task. | (true or false)
#Time between data saves in minutes. | Default 3 min.
#Hide the data save task log messages.
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.
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.
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!