I'm trying to make a plugin which can allow player store their items into a remote chest, and I wanna make it shared with other players, just like a public chest.
Is there a way using Spigot-API to implement it?
I'm trying to make a plugin which can allow player store their items into a remote chest, and I wanna make it shared with other players, just like a public chest.
Is there a way using Spigot-API to implement it?
you can create an inventory:
Inventory inventory = Bukkit.createInventory(owner,size,name);
and open it when a player wants to access the remote chest:
player.openInventory(inventory);