GraveGuard 将普通的物品掉落替换为持久的坟墓。当玩家死亡时,其物品会被存储在一个标有该玩家头颅和名字的坟墓中。所有者可以返回并取回这些物品,而受保护的坟墓会在配置的锁定期间内防止其他玩家拾取。
坟墓在服务器重启后依然保留,支持工作人员恢复,并能安全处理背包溢出情况。
功能
• 玩家死亡后保留持久坟墓
• 使用玩家头颅作为坟墓标记
• 显示所有者名称及交互提示
• 所有者保护计时器
• 工作人员绕过权限
• 右键点击进行恢复
• 背包溢出保护
• 溢出的物品会在玩家所在位置安全掉落
• 坟墓在服务器重启后保持存在
• 自动过期清除坟墓
• /graves 命令列出所有坟墓位置
• 对危险区域(如熔岩或虚空)的安全处理
• 可配置的 PvP 行为
• 可配置的世界行为
• 无外部依赖
命令
/graves
列出当前玩家的活跃坟墓,包括所在世界、坐标以及剩余存在时间。
权限
graveguard.staff
拥有此权限的工作人员可以在所有者锁定到期前打开受保护的坟墓。该权限默认授予服务器操作员。
配置
despawn-seconds: 3600
owner-lock-seconds: 300
protect-pvp: true
enabled-worlds: {}
• despawn-seconds:坟墓在过期前的存在时长。
• owner-lock-seconds:仅允许所有者拾取坟墓物品的锁定时长。
• protect-pvp:控制 PvP 死亡是否生成受保护的坟墓。
• enabled-worlds:允许按世界单独配置坟墓行为。
工作原理
-
玩家死亡。
-
其掉落的物品被存入坟墓中。
-
坟墓上会放置对应的玩家头颅并显示名字。
-
所有者可通过右键点击取回物品。
-
受保护的坟墓会在锁定期内拒绝未授权玩家的访问。
-
无法放入所有者背包的物品会被安全地原地掉落,而不是直接删除。
GraveGuard replaces ordinary item drops with persistent graves. When a player dies, their items are stored in a grave marked with the player's head and name. The owner can return and recover the items, while protected graves prevent other players from looting them during the configured lock period.
Graves persist through restarts, support staff recovery, and safely handle inventory overflow.
Features
• Persistent graves after player death
• Player-head grave marker
• Visible owner name and interaction prompt
• Owner protection timer
• Staff bypass permission
• Right-click recovery
• Inventory overflow protection
• Overflow items drop safely at the player's location
• Grave persistence across server restarts
• Automatic grave expiration
• /graves location list
• Safe handling for dangerous locations such as lava or void areas
• Configurable PvP behavior
• Configurable world behavior
• No external dependencies
Commands
/graves
This lists the player's active graves, including world, coordinates, and remaining lifetime.
Permissions
graveguard.staff
Staff members with this permission can open protected graves before the owner lock expires. The permission defaults to server operators.
Configuration
despawn-seconds: 3600
owner-lock-seconds: 300
protect-pvp: true
enabled-worlds: {}
• despawn-seconds: How long a grave remains before expiration.
• owner-lock-seconds: How long only the owner is allowed to loot the grave.
• protect-pvp: Controls whether PvP deaths create protected graves.
• enabled-worlds: Allows per-world grave configuration.
How it works
-
A player dies.
-
Their item drops are stored in a grave.
-
The grave is marked with their player head and name.
-
The owner can right-click it to recover the items.
-
Protected graves reject unauthorized players until the lock expires.
-
Items that do not fit in the owner inventory are dropped safely rather than deleted.
评论 0
登录后参与评分
还没有评论,来抢沙发吧