BrainStone / Inventory Sync

This plugin synchronizes the player inventory with a database
Download

Inventory Sync

Are you having multiple sponge servers connected over a bungee cord and want the players to have the same inventory on all servers?

Then this plugin is exaclty right for you! Because it does just that.

Whenever a player leaves a server their inventory (and some other configurable data) is stored in a database. Whenever a player enters a server the data is fetched from the database and the inventory is set to the contents from the database.

Supported Database Types

The following database types are currently supported:

  • MySQL (also MariaDB)
  • H2 (Not recommended)

Decide which storage method to use in the config. When using H2 make sure you are using a central database file! In any case make sure the database data matches all servers you want to synchronize!

Synchronized Data

The following data is currently synchronized:

  • Inventory
  • Ender Chest contents
  • Game Mode
  • Experience
  • Health
  • Hunger (= Food Level and Saturation)
  • Potion Effects (Not working properly due to a bug in Sponge! See #12)

You can enable and disable these as you please. By default all are enabled.

Commands

None

Permissions

  • invsync: Full Plugin permissions
    • invsync.sync: Synchronize everything
      • invsync.sync.inventory: Synchronize Inventory
      • invsync.sync.ender_chest: Synchronize Ender Chest
      • invsync.sync.game_mode: Synchronize Game Mode
      • invsync.sync.experience: Synchronize Experience
      • invsync.sync.health: Synchronize Health
      • invsync.sync.hunger: Synchronize Hunger
      • invsync.sync.potion_effects: Synchronize Potion Effects

Planned Features

  • Possibility to switch between inventories. (Main use would be for team members who also like to play legitly so they can keep their survival inventory unmodified when they help out other players.)
  • Automatic switching of inventories when switching gamemode. (Optional of course!)

Suggestions and Bugs

So if you have feedback on my planned features, suggestions on what I can add or improve or what additional data I could synchronmnize, tell me!
Also please report any bugs you encounter, so I can fix them. (Click the Issues link up at the top.)
You can also get quick support on our Discord!

Support

If you want to support the Aura Development Team, which I am part of, you can support us on Patreon!

Support us on Patreon

bStats

This plugin uses bStats to anonymously collect usage data, to make development easier. You can disable this by going to config/bstats/config.conf. Stats can be found here: https://bstats.org/plugin/sponge/Inventory%20Sync

Category: Miscellaneous

Published on Apr 25, 2017

3090 views

552 total downloads

Licensed under GNU General Public License (GPL)

Pages

Members