
? CauseChain
你死了。输入 /why。获取因果链。
原版提示说你被 TNT 炸死。/why 会指出是谁点燃的、完整的因果链以及弹坑信息。
⚡ 为什么要安装这个?
你已经安装了 CoreProtect。/co i 可以告诉你最后触碰某个方块的人是谁。但玩家重生时看到的依然是“Steve 被 TNT 炸死”,工作人员也只能猜测是哪颗 TNT、哪个玩家或哪个 WorldGuard 区域造成的。
CauseChain 与 CoreProtect 并存。在死亡、放置/破坏被阻止或捕获到因果链后,/why 会在聊天栏中打印出因果链。 保留 /co i 用于回滚操作,保留 CauseChain 用于还原故事经过。
- ? 死亡 — 重生后,输入
/why,获取引爆者 + TNT + 你自己
- ? TNT 连锁反应 — 引燃 → 连锁触发 → 爆炸,附带证据 ID
- ? 明确的阻止记录 — 在世界保护(如 WorldGuard 或 GriefPrevention)阻止某处操作后,使用
/why deny
- ? 检查 — 点击你可以建造的方块;空检查指向
/co i
- ? 弓 / 发射器 — 当平台记录了投射物所有者时显示;发射器仍显示为发射器
- ✏️ WorldEdit
//set — 一个语义节点,而非成千上万个方块点击
- ⚙️ Paper / Purpur / Folia

? /why 实际回答的问题
? 死亡
- 你是怎么死的? — 输入命令的玩家的最后一次死亡原因
- 未知父级 — 如果平台从未指明原因,聊天栏会显示“未知”。不会出现虚假的玩家名称。

? TNT
- 引燃 — 玩家点燃 TNT (
vanilla.tnt.ignition.v1)
- 连锁 — TNT 引燃另一颗 TNT (
vanilla.tnt.chain-trigger.v1)
- 弹坑 — 爆炸、受影响的方块、始作俑者

? 保护机制
- WorldGuard —
WorldGuard spawn (visitor) 以及对应的标志位
- GriefPrevention — 领地所有者 + 信任关系
- 两者同时存在 — 并列列出,标记为歧义状态
? 地块检查
/why inspect / /why here — 捕获该方块上的火焰、TNT、WorldEdit 操作
- 空结果 — 显示领地或区域名称,然后提示你运行
/co i。CauseChain 不会存储每一次放置/破坏的记录。
? 其他痕迹
- 弓箭击杀 — 当记录了投射物所有者时
- 发射器 — 仍显示为发射器
- WorldEdit / FAWE — 单个操作节点。FAWE 处于实验性支持阶段
- 火焰、掉落物方块、爆炸 — 当平台链接具有可信依据时

?️ 命令
玩家
/why — 查看最后一次死亡
/why deny — 查看最后一次被取消的放置/破坏操作
/why inspect — 点击检查
/why here — 检查目标方块
工作人员
/why — 检查切换开关
/chain <id> — 查看某个节点周围的因果网络
/cc status /cc adapters /cc explain /cc export /cc trace /cc reload
causechain.why.self 和 causechain.why.claim 默认值为 true。工作人员节点默认为 OP(管理员权限)。
PlaceholderAPI 占位符:%causechain_last_death% %causechain_last_deny%
/why 有一个 [Share] 按钮,可复制一条适合 Discord 发送的文本行。
? 安装
将 JAR 文件放入 plugins/ 目录中,放在 CoreProtect 旁边并重启服务器。无需额外的 JAR 文件,无需注册账号,无需云端服务。
循环功能必需: CoreProtect。即使没有它,JAR 文件仍能加载。空检查仍会提示你使用 /co i。
可选依赖: WorldGuard, GriefPrevention, WorldEdit / FastAsyncWorldEdit, PlaceholderAPI
? 要求
专为 Paper、Purpur 和 Folia 构建。
不支持 Spigot 和 CraftBukkit。 未经过测试。
- 仅服务端插件。无客户端模组
- Folia 使用区域调度器、实体调度器、全局调度器和异步调度器 (
folia-supported: true)。尚未发布针对 Folia 的压力测试结果。在你的 Folia JAR 上先用 TNT 和死亡场景进行冒烟测试,确认稳定后再投入生产环境。
Files 标签页上的版本是该 JAR 文件经过测试的版本。不要假设未列出的版本可用。
本次版本未包含的功能
/rewind / 世界回溯
- CoreProtect 历史记录查询
- 记录每一次成功的放置/破坏操作
- Lands 插件支持
- 命名每一个取消点击操作的插件
- 将追踪数据上传至服务器之外
CauseChain 与 CoreProtect 无关。请勿联系 CoreProtect 的作者寻求支持。
? 隐私
聊天内容和命令文本永远不会被存储。追踪上传功能尚未实现。privacy.telemetry 必须保持为 false。
bStats 匿名服务器计数默认开启。可通过 privacy.bstats: false 或 plugins/bStats/config.yml 关闭。
❓ 支持
- 文档:
- Discord:
- Ko-fi:
- PayPal:
- bStats:
许可证:Apache 2.0

? CauseChain
You died. Type /why. Get the chain.
Vanilla says you were blown up by TNT. /why names who lit it, the chain, and the crater.
⚡ Why install this?
You already run CoreProtect. /co i tells you who last touched a block. Players still respawn into "Steve was blown up by TNT" and staff still guess which TNT, which player, which WorldGuard region.
CauseChain sits next to CoreProtect. After a death, a deny, or a captured chain, /why prints the chain in chat. Keep /co i for rollback. Keep CauseChain for the story.
- ? Death — respawn, type
/why, get igniter + TNT + you
- ? TNT chain — ignite → chain trigger → explosion, with evidence ids
- ? Named deny —
/why deny after WorldGuard or GriefPrevention blocks a place
- ? Inspect — click a block you can build on; empty inspect points at
/co i
- ? Bow / dispenser — projectile owner when the platform recorded one; a dispenser stays a dispenser
- ✏️ WorldEdit
//set — one semantic node, not a thousand block clicks
- ⚙️ Paper / Purpur / Folia

? What /why actually answers
? Death
- How did you die? — last death for the player who typed it
- Unknown parent — if the platform never named a cause, chat says unknown. No fake player.

? TNT
- Ignite — player lighting TNT (
vanilla.tnt.ignition.v1)
- Chain — TNT priming TNT (
vanilla.tnt.chain-trigger.v1)
- Crater — explosion, blocks, who started it

? Protection
- WorldGuard —
WorldGuard spawn (visitor) plus the flag
- GriefPrevention — claim owner + trust
- Both — listed together, marked ambiguous
? Land inspect
/why inspect / /why here — captured fire, TNT, WorldEdit on that block
- Empty — names the claim or region, then tells you to run
/co i. CauseChain does not store every place/break.
? Other traces
- Bow kill — when the projectile owner was recorded
- Dispenser — stays a dispenser
- WorldEdit / FAWE — one op node. FAWE is experimental
- Fire, falling blocks, explosions — when the platform link is defensible

?️ Commands
Player
/why — last death
/why deny — last cancelled place/break
/why inspect — click inspect
/why here — target block
Staff
/why — inspect toggle
/chain <id> — neighborhood around a node
/cc status /cc adapters /cc explain /cc export /cc trace /cc reload
causechain.why.self and causechain.why.claim default true. Staff nodes default op.
PlaceholderAPI: %causechain_last_death% %causechain_last_deny%
/why has a [Share] button that copies a Discord-ready line.
? Install
Drop the jar in plugins/ next to CoreProtect and restart. No extra JARs, no account, no cloud.
Required for the loop: CoreProtect. The JAR still loads without it. Empty inspect still tells you to use /co i.
Optional: WorldGuard, GriefPrevention, WorldEdit / FastAsyncWorldEdit, PlaceholderAPI
? Requirements
Built for Paper, Purpur, and Folia.
Spigot and CraftBukkit are not supported. They have not been tested.
- Server-side only. No client mod
- Folia uses region, entity, global, and async schedulers (
folia-supported: true). No published Folia stress run. Smoke TNT + death on your Folia jar before you treat it as production-proven.
Versions on the Files tab are the ones this jar was tested against. Don't assume unlisted versions.
Not in this release
/rewind / rolling the world back
- CoreProtect history lookup
- Logging every successful place/break
- Lands
- Naming every plugin that cancelled a click
- Uploading traces off the server
CauseChain is not affiliated with CoreProtect. Do not ping the CoreProtect author for support.
? Privacy
Chat and command text are never stored. Trace upload is not implemented. privacy.telemetry must stay false.
bStats anonymous server counts are on by default. Turn off with privacy.bstats: false or plugins/bStats/config.yml.
❓ Support
- Docs:
- Discord:
- Ko-fi:
- PayPal:
- bStats:
License: Apache 2.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧