Hi. How may I save an inventory for a world and then clear it, and if then the player back to that world, load it? Example: If player was in world "survival" and he run /spawn, save his inventory and clear it. If he's in world "world" and then he go to the world "survival" it loads the Survival inventory.
You should save an data of a player to each world (dat/yml/sql/mysql) and then if the player quit from the server it saves to the data what was on the player inventory, when they changes the world with EntityWorldChangeEvent you should return and give the items what was stored on your file data of that player with the world located, if you want i can do this plugin today when i have time.. but I do not promise
https://github.com/BlockHorizons/PerWorldInventory Needs updating to work with latest api. Specially the NBT stuff
I have created one repository for the plugin, but it's not finished.. https://github.com/LewBr/LewBr-InventarioMundial
Hey, BlockHorizons' PerWorldInventory just got updated! https://github.com/BlockHorizons/PerWorldInventory