
关于我
此数据包允许你通过“基于存储的系统”来保存你的 Minecraft 物品栏。
请参阅本视频以获取使用指南。
特性
无限云存储
物品栏被存储在“保险箱”中,而理论上 Minecraft 中的“保险箱”数量是无限的!你还可以将保险箱的默认名称("<玩家> 的保险箱 #<保险箱ID>")更改为你想要的任何名称!
多人游戏友好,SMP 兼容!
你可以在你的私人服务器中使用这个数据包。每个玩家只能访问自己的物品栏。这个数据包应该适用于任何维度,因此你可以将它与其他数据包配合使用。
高效性能!
此数据包仅使用其 tick.mcfunction 循环文件来配置 /trigger 命令。总体而言,它不会消耗内存和刻数。
命令
该数据包包含两个命令:
inv-Save
/trigger inv-Save
此命令会将你的当前物品栏内容保存至一个拥有唯一“vault-id”和默认为玩家名称的“vault-name”的储物箱中。
当玩家的物品成功保存后,系统会向玩家发送一段 tellraw 文本“change name?”。点击该文本可以更改储物箱的名称。随后,系统将给予玩家一本书,玩家可以重命名这本书并丢弃它来设定储物箱的新名称。
inv-Withdraw
/trigger inv-Withdraw
此命令将在数据库中搜索由执行此命令的玩家拥有的储物箱。它将以列表形式在聊天框中展示这些储物箱,并提供提取和更改储物箱名称的选项。如果玩家选择提取,该储物箱将被删除,其内容将转移给玩家。 注意:如果玩家已经拥有某些物品,这些物品将在接收提取出的储物箱内容之前被存入另一个储物箱中。 如果玩家决定更改名称,则系统将给予玩家一本书,玩家可以重命名这本书并丢弃它来设定储物箱的新名称。
inv.saver:卸载
/function inv.maker:uninstall
此命令将在无任何警告的情况下删除所有计分板和存储数据。请谨慎使用此命令。

About Me
This datapack adds the ability to save your minecraft inventory in a "storage-based" system.
Refer to this video 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 ("<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 two commands.
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧