BetterGravestone

BetterGravestone

玩家死亡时生成一个墓碑。轻量且高效!

生活质量

🪦 BetterGravestone — 轻量级死亡物品保护


BetterGravestone 是一款轻量且高效的模组,当玩家死亡时会生成一个墓碑,安全地将掉落的物品存放在其中。
无需命令、无需调度器、无需数据库 — 所有数据直接存储在方块中。

非常适合希望以干净公平的方式在死亡后恢复物品,同时避免杂乱或性能影响的生存服务器。


✨ 特性

  • 🪦 在玩家死亡位置生成墓碑
  • 📦 将掉落的物品直接存储在墓碑内
  • ⏱️ 物品可在可配置的时间内取回(默认 30 分钟)
  • 🔒 只有所有者可以访问其墓碑(可通过权限配置)
  • ⚡ 极其轻量 — 无需外部存储或调度器
  • 💬 使用 TinyMsg 格式 完全自定义消息
  • 🧱 所有数据存储在方块内部

⚙️ 配置

BetterGravestone 使用简单的 JSON 配置文件。
所有消息支持 TinyMsg 格式,包括颜色和占位符。

📄 配置选项

选项 类型 默认值 描述
TimeToCollectGraveInSeconds 数字 1800 墓碑可以被掠夺的时长(秒),之后将过期
SendDeathLocation 布尔值 true 向玩家发送死亡坐标
MessageDeathLocation 字符串 — 向玩家显示死亡坐标的消息
MessageGraveExpired 字符串 — 墓碑过期时显示的消息
MessageGraveNotOwner 字符串 — 其他玩家与墓碑交互时显示的消息
BreakOthersPermission 字符串 gravestone.break.others 破坏其他玩家墓碑所需的权限
IgnoreTimeToCollect 布尔值 false 忽略墓碑收集中时间限制
IgnoreTimePermission 字符串 gravestone.ignore.time 配置用于绕过墓碑收集时间限制的权限

📝 默认配置

{
  "TimeToCollectGraveInSeconds": 1800,
  "SendDeathLocation": true,
  "MessageDeathLocation": "<color:red>You have died at</color><color:white>:</color> <color:gray>{x}, {y}, {z}</color><color:white>.</color>",
  "MessageGraveExpired": "<color:red>This gravestone has been placed for a long time</color><color:white>.</color> <color:red>Your items have rotted away</color><color:white>.</color>",
  "MessageGraveNotOwner": "<color:red>You are not the owner of this gravestone</color><color:white>.</color> <color:gray> You can break this gravestone in </color><color:white>{time}</color> <color:gray>seconds</color><color:white>.</color>",
  "BreakOthersPermission": "gravestone.break.others",
"IgnoreTimeToCollect": false,
"IgnoreTimePermission": "gravestone.ignore.time"
}

💬 支持

需要帮助或想报告问题?
支持:https://discord.gg/veUKtz2cg4


⭐Kinetic Hosting

Kinetic Hosting 合作伙伴横幅