MySQL Player Data Bridge

SpigotMC Plugin MySQL Player Data Bridge 3.28.3

You must be signed in and/or upgrade to VIP to download this resource
Tested Minecraft Versions:
1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13
A bukkit/spigot plugin to share any player data across servers. You can share data as: Economy accounts, Inventory and Armor, Enderchest, Potion Effects, Experience, Health and Food levels, Game Mode and Location. More data to sync will be added in time, if you have a request then post it in the Discussion Forum.

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
  • Premium UUID and Offline UUID support for Spigot 1.7.5 to 1.12.2
  • Non UUID support for 1.6.4 and 1.7.2.
  • Works on Cauldron/KCauldron/Thermos 1.7.10 servers.
  • Works on MCPC Plus 1.6.4 servers.
  • MySQL Database only.
  • Share players data across servers, read below for what it can sync.
  • Everything can be customized using the plugin config file.
  • Supports any Economy system that works with Vault.
  • Support for Essentials Economy Eco commands.
  • Support for ChestShop plugin for offline sales/buy orders. (Only for UUID compatible servers).
  • Support for QuickShop plugin for offline sales. (Only for UUID compatible servers).
  • Support for Shop plugin for offline sales/buy orders. (Only for UUID compatible servers).
  • Support for AuctionHouse plugin for offline auctions. (Only for UUID compatible servers).
  • Support for ShopChest plugin for sales/buy orders. (Only for UUID compatible servers).
  • Support for PlayerShopGUI+ plugin for offline sales. (Only for UUID compatible servers).
  • Support for combat tag plugins.
  • Support for custom health levels.
  • Full items NBT data saving. Full support for modded items.
  • Database maintenance options to remove inactive players.
  • Codded to use as little resources as possible and almost everything runs async away from the server main thread to prevent any server lag/tps drops.
  • Commands to reload config, import data and more.
  • Can remove folders and files when the server shut's down or restarts. For example you can delete the PlayerData folder as data is stored in MySQL with this plugin.
How does it work?
It listens for server join and leave events to sync the players data over a mysql database to share it over many servers. When a player leaves/disconnects a server the plugin uploads the players data 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.

What can you sync?
You can share any data that is stored in players.dat file also you can share players economy accounts.

Players Inventory and Armor
You can share anything inside players inventory and hotbar. Also since the equipped armor is a part of players inventory you can also share the armor. The selected hot bar slot will also be shared if inventory sync is enabled.

Players Game Mode
You can share players game mode across servers. (Survival; Creative; Adventure and Spectate)

Players Enderchest
You can share anything that is stored inside enderchests too.

Players experience points and levels
You can share players experience.

Players active potion effects
Any active potion effect can be shared.

Players health level
Health can be shared even if it's a custom size.

Players food and saturation level
Food and saturation levels can be shard too.

Players air level
Since air levels are also stored in player.dat file you can also share this if needed.

Players location
Sync players location across servers. This can be very useful on mirror servers. It will sync world location, X Y Z coordinates, Yaw and Pitch for exact facing direction. You can also sync players bed spawn location.

Players bed spawn location
Sync players bed spawn location. It will sync world location, X Y Z coordinates, Yaw and Pitch for exact facing direction.

Players economy (money) accounts
This is not stored inside player.dat file but sharing players money is very needed. It supports any economy system compatible with Vault, so you don't even need to have the same economy plugin on all servers you will share players data.

Dependencies
  • MySQL Database
  • (Optional) Vault - Download
  • (Optional) Any Economy system compatible with Vault - (only required for economy accounts sharing)
  • (Optional) ProtocolLib - Download
*Vault is required for economy accounts sync.
*ProtocolLib is required for Cauldron/KCauldron servers only!

Install instructions
Note: You need to install this plugin on all bukkit/spigot servers you want to keep data in sync, and set them to use the same database.
  • Place the plugin in the server plugins folder, and make sure you have all the dependency's.
  • Start the server to generate the config, then stop the server.
  • Open the config and set up the database connection details and configure the plugin. You need to create the database, then the plugin will create the tables on it's own.
  • Start the Server. Done, enjoy. Your player data will be shared on as many servers as you need.
Permissions:
MPDB.moderator
- Allow the use of inventory, armor and enderchest edit commands and also check and set balance commands. Default to OP.
MPDB.moderator.inventory - Allows to open and edit others inventory. Default to OP.
MPDB.moderator.armor - Allows to open and edit others armor. Default to OP.
MPDB.moderator.enderchest - Allows to open and edit others enderchest. Default to OP.
MPDB.admin - Allow the use of config reload and import data commands. Default to OP.
MPDB.cmd.enderchest - Access to open your enderchest by command with /mpdb end .Default to OP

Commands:
/mpdb
and /mpdb help - Display the help info.
/mpdb reload - MPDB.admin - Reload the plugin config.
/mpdb saveAndKick - MPDB.admin - Kick all players and save their data.
/mpdb importData - MPDB.admin - Import existing player data into the database, will skip users that are already in the database. It will import data of modules enabled in the config.
/mpdb importData <name> - MPDB.admin - Will only import data for the specified player, if player is already preset in the database will overwrite.
/mpdb delete <name> - MPDB.admin - Delete a player from the database.
/mpdb inv <name> - MPDB.moderator - Open and edit a player's inventory.
/mpdb armor <name> - MPDB.moderator - View and edit a player's armor.
/mpdb end - MPDB.cmd.enderchest - Open your enderchest by command.
/mpdb end <name> - MPDB.moderator - View and edit a player's ender chest.
/mpdb ecoBal <name> - MPDB.moderator - View a player's balance.
/mpdb ecoSet <name> <amount> - MPDB.moderator - Change a player's balance.
/mpdb getXp <name> - MPDB.moderator - View the player xp and level.
/mpdb setXp <name> <exp> - MPDB.moderator - Set a player xp or level.
/mpdb addXp <name> <exp> - MPDB.moderator - Add or remove xp or levels from a player.
*Replace <name> with the player name.
*Replace <amount> with the new balance.
*Replace <exp> with xp amount or levels, to add or set levels just add an l after the number for example: 5l , works the same as essentials xp system. You can also add negative numbers to remove xp or levels.
Author
Admin
Downloads
36
Views
445
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Admin

Share this resource

Latest updates

  1. Fixes

    Fixes for broken enderchest own access. No config changes!
  2. Improvements

    More optimizations to sync tasks to improve sync delay and completion time. No config changes!
  3. Improvements

    Added support for latest CrazyAuctions plugin. Improvements to economy sync process. No config...