About Me
This datapack adds the ability to save your minecraft inventory in a "storage-based" system using /trigger commands!. Refer to this video for usage guide.
-
1.21+ supported!
Features
Infinite Cloud Storage
Inventories are stored in "vaults" and theoretically the number of "vaults" possible in minecraft is infinite! You can also change your vault's name from default ("<player>'s vault #<vault-id>" to whatever you want!)
Multiplayer-Friendly, SMP-Friendly!
You can use this datapack in your private servers. Each player can only access their own inventory. This datapack should work in any and all dimensions so you should be able to pair them with other datapacks.
Performance-Efficient!
This datapack only uses its tick.mcfunction looping files to configure the /trigger commands. All in all, it shouldn't consume memory and ticks.
Commands
The datapack has tw commands.
- inv-Save
- inv-Withdraw
inv-Save
/trigger inv-Save
This command takes your current inventory, and stores it in a vault having unique "vault-id" and a "vault-name" that is defaulted to the player's name. This vault-name can be changed by clicking on the tellraw text "change name?" that is sent to the player when their inventory is successfully saved. The player will then be given a book which they can rename and drop to set the name of the vault.
inv-Withdraw
/trigger inv-Withdraw
This command will dig through the database to find vaults owned by the player who ran this command. It will present them in form of a list to the player in the chat, with the options to withdraw and change the vault's name. If the player chooses to withdraw, that vault will be deleted and it's contents will be transferred to the player. NOTE: IF THE PLAYER ALREADY HAS SOME ITEMS, THEY WILL GET STORED IN ANOTHER VAULT BEFORE THEY RECEIVE THE WITHDRAWN VAULT.
If the player decides to change the name, then they will then be given a book which they can rename and drop to set the name of the vault.
inv.saver:uninstall
/function inv.maker:uninstall
This command will delete all the scoreboards & storages WITHOUT WARNING. This command must be administered responsibly.