← Назад к ресурсам

Inventory Saver

save your [[inventory]] with just one command.

Modrinth game-mechanics storage utility

Описание

![pd](https://cdn.modrinth.com/data/cached_images/cb221eedf1fde89b80c08ad0168f9b672f232a03.png) ## About Me This datapack adds the ability to save your minecraft inventory in a "storage-based" system. Refer to this [video](https://youtu.be/iSnhHywSaNk) for usage guide. - ### Supported for versions 1.20.2+ # 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 ("'s vault #" 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 two 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.