New Super Virtual Chest

模组

· 作者 EarlyStage7717

一个虚拟箱子模组,适用于服务器

0 本站下载 0 关注 更新于 3 周前

需要前置:Fabric API

最新 0.9.3+mc1.20.1 · 1.20.1 · Fabric

一键开服(送7天)

A New Super Virtual Chest

一种服务端虚拟箱子解决方案。 创建公共或私人的虚拟箱子,持久存储物品,无需任何客户端安装。

or

Why I Made This Mod? / 制作原因

English: The main reason I created this project is that there wasn't an up-to-date virtual chest solution for newer Minecraft versions that allows creating multiple persistent chests. I needed a simple, server-side solution for my own server, so I built it.

中文: 我制作这个项目的主要原因是没有新版本的可创建多个且持久化的虚拟箱子方案。我自己的服务器需要一个简单的纯服务端方案,于是就有了它。

Q&A

Q: There are already other virtual chest mods. Why did you make another one? A: While similar mods exist, none of them supported Minecraft 1.21.11+ when I started this project.

Q: Why did you upload the source code JAR? A: I don't have a GitHub account and I'm not familiar with how to use it.


? Features

  • ?️ Virtual Chests – Create chests that are not tied to any physical block.
  • ? Public & Private – allplayer creates a public chest anyone can open. Use a player name to create a private chest only that player (and admins) can access.
  • ⏳ Delayed Public Deletion – When a non-admin deletes a public chest, it enters a 3 in-game day waiting period before being permanently removed. Anyone can cancel the deletion during this time.
  • ✅ Instant Admin Actions – Players with the nsvc_admin tag (or console/command blocks) can create, open, and instantly delete any chest.
  • ? Persistent Storage – All chest contents are saved to disk inside the world folder and survive server restarts.
  • ? Multi-language Support – English and Simplified Chinese are included. (Your client language determines which is shown.)
  • ?️ Pure Server‑side – No client-side installation required! Players connect with a vanilla client and still see the normal chest GUI.

⌨️ Commands

All commands use the prefix /NSvc.

New command style

Command Description
/NSvc create <name> [small|large] Create a private chest for yourself.
/NSvc mcreate <name> [small|large] Alias for create.
/NSvc pcreate <name> [small|large] Create a public chest.
/NSvc padd <name> [small|large] Alias for pcreate.
/NSvc open <name> Open a chest you have access to.
/NSvc popen <name> Open a public chest.
/NSvc delete <name> [close] Delete a chest. Use close to cancel pending deletion.
/NSvc remove <name> [close] Alias for delete.
/NSvc pdelete <name> [close] Delete a public chest.
/NSvc premove <name> [close] Alias for pdelete.
/NSvc name <chest> open Open a chest by name.
/NSvc name <chest> delete [close] Delete a chest by name.
/NSvc name <chest> remove [close] Alias for name <chest> delete.
/NSvc list [player|allplayer] List all chests, a player’s chests, or public chests.
/NSvc plist List public chests.
/NSvc mlist List your own chests.
/NSvc players <player> list List a player’s chests.
/NSvc players <player> create <chest> [small|large] Create a chest for a player.
/NSvc players <player> open <chest> Open a chest with permission checks.
/NSvc players <player> delete <chest> [close] Delete a player’s chest.
/NSvc players <player> remove <chest> [close] Alias for players <player> delete.
/NSvc save Save chest data manually. Admin only.
/NSvc help / newhelp / oldhelp Show help.

Legacy command style

Command Description
/NSvc <player|allplayer> create <chest> [small|large] Create a chest for a player, or a public chest with allplayer.
/NSvc <player|allplayer> open <chest> Open a chest.
/NSvc <player|allplayer> delete <chest> [close] Delete a chest.
/NSvc <player|allplayer> remove <chest> [close] Alias for delete.
/NSvc <player|allplayer> list List chests.

allplayer is the special target for public chests.

Old Command Style Usage

? Create a Chest

/NSvc <target> create <name> [small|large]

  • <target> – allplayer for a public chest, or an online player name for a private chest.
  • <name> – A unique name for the chest (e.g., community_farm).
  • [size] – small (27 slots) or large (54 slots). Defaults to large.

Examples: /NSvc allplayer create PublicStorage large /NSvc Steve create StevePrivate small

? Open a Chest

/NSvc <target> open <name> Opens the virtual chest GUI. Non-admin players can only open public chests or their own private chests.

Example: /NSvc allplayer open PublicStorage

?️ Delete a Chest

/NSvc <target> delete <name> [close]

  • Without close – Starts deletion (public chests go into a 3 in-game day waiting period; private chests ask for confirmation).
  • With close – Cancels a pending deletion.

Examples: /NSvc allplayer delete PublicStorage /NSvc allplayer delete PublicStorage close

? 列表箱子

/NSvc <目标> list 显示属于该目标的所有箱子(使用 allplayer 表示公共箱子,或使用玩家名称表示私人箱子)。 管理员可以看到所有私人箱子;普通玩家只能看到自己的箱子。


?️ 管理员权限

本项目不使用独立的权限插件或文件。 相反,管理员通过 nsvc_admin 标签来识别。

?️ 授予管理员权限

在服务器控制台或作为现有管理员运行此命令: /tag <玩家> add nsvc_admin

❌ 移除管理员权限

/tag <玩家> remove nsvc_admin

? 查看玩家的标签

/tag <玩家> list

? 提示: 控制台和命令方块始终拥有完整的管理员权限,无需添加该标签。


? 数据存储

虚拟箱子数据以 nsvc_virtualchests.dat 文件的形式保存在世界文件夹中。 该文件会自动创建,并且与世界的备份兼容。


? 语言支持

模组/插件会自动使用您的 Minecraft 客户端语言。 目前支持的语言:

  • 英语 (en_us)
  • 简体中文 (zh_cn)

想要添加其他语言?欢迎贡献!


Outher 项目页面:

享受无忧的虚拟存储!

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源