Private Vault
一款功能强大且灵活的 Fabric 服务器个人存储模组,为每位玩家提供多达 100,000 个私人储物箱的访问权限!
特性
海量存储空间 — 每位玩家最多可拥有 100,000 个个人储物箱
私密与安全 — 储物箱完全属于每位玩家个人所有
双箱容量 — 每个储物箱拥有 54 个格子(6 行)
可配置限制 — 管理员可以设置全局和按玩家的储物箱数量上限
持久化存储 — 所有储物箱数据保存至世界文件夹,重启后依然存在
易于使用 — 通过简单的 /pv 命令即可访问任意储物箱
按玩家自定义 — 可以为不同玩家设置不同的储物箱上限
管理员储物箱查看器 — 管理员可以直接打开并检查任何玩家的储物箱
指令
玩家
| 指令 |
描述 |
/pv <number> |
打开你的其中一个储物箱 |
管理员(需要 OP 权限)
| 指令 |
描述 |
/pvconfig |
显示帮助信息和所有可用选项 |
/pvconfig default |
显示当前的默认储物箱上限 |
/pvconfig default <number> |
设置所有玩家的默认储物箱上限 |
/pvconfig get <player> |
查看某玩家当前的储物箱上限 |
/pvconfig set <player> <limit> |
为某玩家设置自定义储物箱上限 |
/pvconfig reset <player> |
移除某玩家的自定义上限,恢复为默认值 |
/pvconfig view <player> <number> |
打开并检查某玩家的储物箱 |
管理员储物箱查看器
/pvconfig view <player> <number> 会在你的图形界面中直接打开任何玩家的储物箱。标题会显示你正在查看谁的储物箱(例如 Steve's Vault #3),以免混淆。你所做的任何更改都会保存回储物箱所有者。目标玩家不需要在线——储物箱是通过 UUID 存储的。
安装
- 安装 Fabric Loader
- 安装 Fabric API
- 将 Private Vault 放入你的
mods 文件夹
- 启动服务器
配置
该模组存储两部分内容:
config/private-vault.json — 默认储物箱上限和按玩家的覆盖设置(通过 /pvconfig 管理)
world/data/private_vaults.dat — 所有储物箱物品数据,保存在世界文件夹中
两者均由系统自动管理。你无需手动编辑文件。
权限
- 玩家 — 可以打开自己的储物箱,直到达到其配置的上限
- 操作员 — 可以配置上限并查看任何玩家的储物箱
使用场景
- 生存模式 — 随着玩家进度给予可扩展的存储空间
- 创造模式 — 为建造者提供无限存储空间
常见问题
服务器重启后储物箱数据会保留吗?
是的。所有储物箱数据都保存到 world/data/private_vaults.dat,并在启动时加载。
其他玩家可以访问我的储物箱吗?
不可以。储物箱对每位玩家都是私密的。只有服务器操作员可以通过 /pvconfig view 查看它们。
如果降低了玩家的储物箱上限会发生什么?
他们无法打开超过新上限的储物箱,但里面的物品是安全的。再次提高上限后,所有物品仍然完好无损。
使用 /pvconfig view 时目标玩家需要在线吗?
不需要。储物箱通过 UUID 存储,因此管理员可以完全访问离线玩家的储物箱。
这是仅服务端模组吗?
是的。客户端无需安装该模组。
它在单人游戏中有效吗?
有效。
许可证
本模组采用 MIT 许可证授权。
Private Vault
A powerful and flexible personal storage mod for Fabric servers that gives each player access to up to 100,000 private vaults!
Features
Massive Storage — Each player can have up to 100,000 personal vaults
Private & Secure — Vaults are completely private to each player
Double Chest Size — Each vault has 54 slots (6 rows)
Configurable Limits — Admins can set global and per-player vault limits
Persistent Storage — All vaults save to the world folder and survive restarts
Easy to Use — Simple /pv command to access any vault
Per-Player Customization — Give different players different vault limits
Admin Vault Viewer — Admins can open and inspect any player's vault directly
Commands
Players
| Command |
Description |
/pv <number> |
Open one of your vaults |
Admins (Requires OP)
| Command |
Description |
/pvconfig |
Show help and all available options |
/pvconfig default |
Show the current default vault limit |
/pvconfig default <number> |
Set the default vault limit for all players |
/pvconfig get <player> |
Check a player's current vault limit |
/pvconfig set <player> <limit> |
Set a custom vault limit for a player |
/pvconfig reset <player> |
Remove a player's custom limit, revert to default |
/pvconfig view <player> <number> |
Open and inspect a player's vault |
Admin Vault Viewer
/pvconfig view <player> <number> opens any player's vault directly in your GUI. The title shows whose vault you're viewing (e.g. Steve's Vault #3) so there's no confusion. Any changes you make are saved back to the vault owner. The target player does not need to be online — vaults are stored by UUID.
Installation
- Install Fabric Loader
- Install Fabric API
- Drop Private Vault into your
mods folder
- Start your server
Configuration
The mod stores two things:
config/private-vault.json — default vault limit and per-player overrides (managed via /pvconfig)
world/data/private_vaults.dat — all vault item data, saved in the world folder
Both are managed automatically. You don't need to edit files manually.
Permissions
- Players — can open their own vaults up to their configured limit
- Operators — can configure limits and view any player's vault
Use Cases
- Survival — give players expandable storage as they progress
- Creative — unlimited storage for builders
FAQ
Do vaults persist after a server restart?
Yes. All vault data is saved to world/data/private_vaults.dat and loaded on startup.
Can other players access my vaults?
No. Vaults are private to each player. Only server operators can view them via /pvconfig view.
What happens if a player's limit is lowered?
They can't open vaults above their new limit, but the items are safe. Raise the limit again and everything is still there.
Does the target player need to be online for /pvconfig view?
No. Vaults are stored by UUID so offline players' vaults are fully accessible to admins.
Is this server-side only?
Yes. Clients do not need the mod installed.
Does it work in singleplayer?
Yes.
License
This mod is licensed under MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧