Skip to content

petoma21/Inventory_Share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory_Share

A plugin for sharing player data between servers using a database.
It can synchronize inventory, ender chest, and economy data from Vault-compatible plugins.

Tested Minecraft Version: 1.21.1
(日本語の説明はこちらからご覧になれます。)

How to Use

① Install this plugin on all servers where you want to share data.

On the first launch after installation, the server will shut down once because the database settings are not configured yet.

② Open the plugin's configuration file from the plugins folder and set up your database information.

③ While keeping the config file open, change the server-id to a unique identifier.

Remember the server-id you set, as you will use it in other settings.

④ Configure the sharing-groups.

Using the server IDs set in step ③, group the servers you want to share data between.

For example, to share data between servers with IDs s1 and s2, configure it like this:

sharing-groups:
example1:
- "s1"
- "s2"

⑤ Specify which data types to synchronize on each server.

Using the server IDs again, configure what data to share.

sync-enderchest is for ender chest sharing, and sync-economy is for economy plugin data sharing.

(Inventory data is shared by default.)


That’s it! Save the config file and start your server.



Example Configuration (Default) img.png

Notes

  • If the server fails to connect to the database during startup for any reason, it will shut down automatically as a safety measure.
  • If you downgrade your server version, item IDs may not be retrieved correctly, which can result in all inventory data being reset. (Upgrading versions does not cause issues.)
  • We are not responsible for any problems or damages caused by using this plugin.

Support

If you encounter bugs or have feature requests, please contact us via our dedicated Discord server.

URL: https://discord.gg/xcFfNgYaQF

About

サーバー間でインベントリや所持金等を共有する。

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages