❤️ 支持我们的开发
您的支持有助于我们保持项目活跃并持续改进。
? 帮助我们达到 1,000 名订阅者!
ChestGuard
ChestGuard 是一款用于 PaperMC 服务器的先进箱子保护与管理插件。它提供箱子所有权、权限控制、安全的物品转移、活动追踪、实时警报,以及对未授权交互和破坏的防护。
核心功能
? 箱子保护
- 使用
/chestlock <name> 锁定并命名单个或双层箱子
- 使用
/chestunlock [name] 解锁受保护的箱子
- 使用
/chestrename <old name> <new name> 重命名已锁定的箱子
- 使用
/chestdetails [name] 查看详细的箱子信息
- 在注视箱子时通过操作栏显示实时的箱子信息
- 显示箱子名称、所有者、坐标和锁定状态
? 不可破坏与防爆保护
已锁定的箱子受到保护,防止在创造模式、生存模式、冒险模式和旁观者模式下被未授权的破坏。
保护包括:
- TNT 爆炸
- 苦力怕(Creeper)爆炸
- 凋灵(Wither)破坏
- 末影龙(Ender Dragon)破坏
- 未授权的漏斗(Hopper)和矿车访问
- 未授权的相邻箱子放置
? 权限与信任系统
/chesttrustlist <chestname> — 查看受信任的用户列表
/chestpermission give <player> <chestname> — 授予访问权限
/chestpermission remove <player> <chestname> — 撤销访问权限
/chestlists — 列出你拥有的箱子
/chestsearch <name> — 查找拥有的箱子
/lastchestplaced — 定位你上次交互的箱子
权限设计旨在允许对受保护存储进行受控访问,而无需交出所有权。
? 活动监控
ChestGuard 会追踪受保护箱子的库存活动。
/chestitems [name] — 查看箱子内容物
/chestactivity — 查看交互历史记录
- 当受信任用户访问箱子时发送实时通知
- 追踪取出或存入的物品
- 显示玩家、物品、数量、箱子名称和坐标
? 安全的物品转移
ChestGuard 包含一个受控的物品转移系统,用于在不同箱子之间移动物品。
选择物品
/itemtake [x y z] [all|item amount]
通过注视源箱子或使用坐标来选择物品。
示例:
/itemtake all
/itemtake emerald all
/itemtake diamond 10
转移物品
/itemtransfer [x y z]
将选定的物品转移到目标箱子中。
物品会自动与现有堆叠合并,并从第 0 号槽位开始插入。
当涉及另一个玩家的锁定箱子时,箱子所有者会收到私人的审批请求,拥有 30 秒的审批窗口。
转移审批
/transfer confirm — 批准转移
/transfer deny — 拒绝转移
? 命令参考
| 命令 |
描述 |
访问权限 |
/chestlock <name> |
锁定并命名箱子 |
玩家 |
/chestunlock [name] |
解锁箱子 |
所有者 |
/chestrename <old> <new> |
重命名已锁定的箱子 |
所有者 |
/chestdetails [name] |
查看箱子信息 |
所有者 / 受信任者 |
/chesttrustlist <chest> |
查看受信任用户 |
所有者 |
/chestpermission give/remove <player> <chest> |
管理权限 |
所有者 |
/chestlists |
列出拥有的箱子 |
所有者 |
/chestsearch <name> |
按名称查找箱子 |
所有者 |
/lastchestplaced |
定位上次交互的箱子 |
玩家 |
/chestitems [name] |
查看箱子内容物 |
所有者 / 受信任者 |
/chestactivity |
查看活动历史 |
所有者 |
/itemtake [x y z] [all|item amount] |
选择物品 |
所有者 / 受信任者 |
/itemtransfer [x y z] |
转移选定物品 |
所有者 / 受信任者 |
/transfer confirm/deny |
管理转移请求 |
箱子所有者 |
/chestguardhelp [page] |
查看游戏内帮助 |
玩家 |
⚙️ 技术亮点
- 基于 UUID 的所有权
- 持久化的世界级 JSON 存储
- 客户端区块重新同步
- 防爆炸的受保护存储
- 漏斗和矿车防护
- 实时库存追踪
- 自动物品堆叠合并
- 顶部行库存插入
- Tab 补全过滤
- 适合多人游戏的权限管理
- 轻量级的服务端处理
⚠️ 重要提示
ChestGuard 专为 PaperMC 多人服务器 设计。超大规模的受保护存储设置仍可能根据服务器环境增加服务器负载。
❤️ Support Our Development
Your support helps us keep our projects alive and improving.
? Help us reach 1,000 subscribers!
ChestGuard
ChestGuard is an advanced chest protection and management plugin for PaperMC servers. It provides chest ownership, permissions, secure item transfers, activity tracking, real-time alerts, and protection against unauthorized interaction and destruction.
Core Features
? Chest Protection
- Lock and name single or double chests with
/chestlock <name>
- Unlock protected chests with
/chestunlock [name]
- Rename locked chests with
/chestrename <old name> <new name>
- View detailed chest information with
/chestdetails [name]
- Display live chest information through an action bar while looking at a chest
- Shows chest name, owner, coordinates, and lock status
? Unbreakable & Explosion Protection
Locked chests are protected from unauthorized destruction in Creative, Survival, Adventure, and Spectator modes.
Protection includes:
- TNT explosions
- Creeper explosions
- Wither destruction
- Ender Dragon destruction
- Unauthorized hopper and minecart access
- Unauthorized adjacent chest placement
? Permission & Trust System
/chesttrustlist <chestname> — View trusted users
/chestpermission give <player> <chestname> — Grant access
/chestpermission remove <player> <chestname> — Revoke access
/chestlists — List your owned chests
/chestsearch <name> — Find an owned chest
/lastchestplaced — Locate your last interacted chest
Permissions are designed to allow controlled access to protected storage without giving away ownership.
? Activity Monitoring
ChestGuard tracks inventory activity on protected chests.
/chestitems [name] — View chest contents
/chestactivity — View interaction history
- Real-time notifications when trusted users access a chest
- Tracks items removed or deposited
- Shows player, item, quantity, chest name, and coordinates
? Secure Item Transfer
ChestGuard includes a controlled item transfer system for moving items between chests.
Select Items
/itemtake [x y z] [all|item amount]
Select items from a source chest by looking at it or using coordinates.
Examples:
/itemtake all
/itemtake emerald all
/itemtake diamond 10
Transfer Items
/itemtransfer [x y z]
Transfers the selected items into a target chest.
Items automatically merge with existing stacks and are inserted starting from slot 0.
When another player's locked chest is involved, the chest owner receives a private approval request with a 30-second approval window.
Transfer Approval
/transfer confirm — Approve the transfer
/transfer deny — Reject the transfer
? Command Reference
| Command |
Description |
Access |
/chestlock <name> |
Lock and name a chest |
Player |
/chestunlock [name] |
Unlock a chest |
Owner |
/chestrename <old> <new> |
Rename a locked chest |
Owner |
/chestdetails [name] |
View chest information |
Owner / Trusted |
/chesttrustlist <chest> |
View trusted users |
Owner |
/chestpermission give/remove <player> <chest> |
Manage permissions |
Owner |
/chestlists |
List owned chests |
Owner |
/chestsearch <name> |
Find a chest by name |
Owner |
/lastchestplaced |
Locate last interacted chest |
Player |
/chestitems [name] |
View chest contents |
Owner / Trusted |
/chestactivity |
View activity history |
Owner |
/itemtake [x y z] [all|item amount] |
Select items |
Owner / Trusted |
/itemtransfer [x y z] |
Transfer selected items |
Owner / Trusted |
/transfer confirm/deny |
Manage transfer requests |
Chest Owner |
/chestguardhelp [page] |
View in-game help |
Player |
⚙️ Technical Highlights
- UUID-based ownership
- Persistent world-level JSON storage
- Client-side block resynchronization
- Explosion-resistant protected storage
- Hopper and minecart protection
- Real-time inventory tracking
- Automatic item stack merging
- Top-row inventory insertion
- Tab completion filtering
- Multiplayer-friendly permission management
- Lightweight server-side processing
⚠️ Important
ChestGuard is designed for PaperMC multiplayer servers. Extremely large-scale protected-storage setups may still increase server workload depending on the server environment.
评论 0
登录后参与评分
还没有评论,来抢沙发吧