ElytraThorn - 使用方法
功能说明: 任何将鞘翅放入胸甲槽位的玩家都会立即死亡*。持有鞘翅是安全的,该插件仅在鞘翅被实际穿戴时触发。
*可配置
安装设置
首次启动时,插件会创建 plugins/ElytraThorn/config.yml。编辑该文件后,在游戏中或控制台中运行
/elytrathorn reload。配置文件更改无需重启服务器。
要检查是否加载成功,请运行 /elytrathorn status。
命令
所有命令都需要 elytrathorn.admin 权限,默认情况下管理员拥有此权限。
简短别名:/et 和 /ethorn。
| 命令 |
功能 |
/elytrathorn status |
显示当前设置。如果感觉哪里不对劲,从这里开始 |
/elytrathorn reload |
应用你对 config.yml 所做的更改 |
/elytrathorn toggle |
开启或关闭插件,并保存该选择 |
/elytrathorn toggle 会写入 config.yml,因此设置会在重启后保留。在活动期间临时禁用插件而不必编辑文件时非常有用。
权限
| 权限 |
默认拥有者 |
授予内容 |
elytrathorn.admin |
管理员 (Operators) |
使用上述命令 |
elytrathorn.bypass |
无 |
穿戴鞘翅而不会被杀死 |
管理员也会被杀死。 成为管理员 不会 自动获得 elytrathorn.bypass —— 你必须显式地给予它。这是出于有意为之,以便除非你决定取消,否则规则适用于工作人员。
使用 LuckPerms 时,授予权限如下所示:
/lp user Steve permission set elytrathorn.bypass true
/lp group admin permission set elytrathorn.bypass true
设置
所有这些设置都位于 plugins/ElytraThorn/config.yml 中。
| 设置项 |
默认值 |
功能 |
enabled |
true |
总开关。false = 插件已加载但永远不会杀死任何人 |
check-interval-ticks |
5 |
检查玩家的频率(20 tick = 1 秒)。提高它可以减少负载 |
kill.bypass-totem |
true |
true = 图腾无法救他们。false = 不死图腾仍然有效 |
kill.remove-elytra |
false |
true = 鞘翅会被销毁。false = 它会与其他物品一起掉落 |
kill.strike-lightning |
false |
装饰性的闪电。不造成伤害也不会引发火灾 |
kill.play-sound |
true |
雷声,只有死亡的玩家可以听到 |
exemptions.bypass-permission |
true |
elytrathorn.bypass 是否生效。false = 任何人都不能被豁免 |
exemptions.creative |
true |
不杀死处于创造模式的玩家 |
exemptions.spectator |
true |
不杀死处于旁观模式的玩家 |
exemptions.disabled-worlds |
[] |
插件不起作用的生物群系列表 |
messages.prefix |
— |
显示在命令和受害者消息之前 |
messages.victim |
— |
发送给死亡玩家的私人消息 |
messages.death-message |
— |
公共死亡消息。%player% 会变成他们的名字 |
messages.reloaded / toggled-on / toggled-off |
— |
命令反馈 |
消息: 使用 & 颜色代码(&c 红色,&e 黄色等)。将任何消息设置为 "" 以隐藏它,包括 death-message,它将回退到正常的原版死亡消息。
常见设置
让工作人员可以使用鞘翅,但其他人不行
保持默认设置,然后为你的工作人员组授予 elytrathorn.bypass。
仅在一个世界中允许使用鞘翅
exemptions:
disabled-worlds: ["elytra_course"]
给玩家通过图腾逃生的一次机会
kill:
bypass-totem: false
他们的图腾会激活并拯救他们,但检查会在四分之一秒后再次运行,所以他们必须真的脱下鞘翅。这买来的是一瞬间的恐慌,而不是免疫。
销毁鞘翅以防被重复使用
kill:
remove-elytra: true
让它更具戏剧性
kill:
strike-lightning: true
静音模式:没有任何消息
kill:
play-sound: false
messages:
victim: ""
death-message: ""
在非常大的服务器上减少负载
check-interval-ticks: 20
当有人正常装备鞘翅时,插件仍然会立即反应;这只会减慢捕获异常情况的后台检查速度。
故障排除
有人穿戴鞘翅时什么也没发生
运行 /elytrathorn status。按顺序检查:Enabled 是否为 yes?他们是否在创造或旁观模式中(两者默认都被豁免)?他们是否在 Disabled worlds 下列出的世界中?他们是否有
elytrathorn.bypass?
我的管理员一直在死
预期行为:op 不授予 elytrathorn.bypass。显式地授予他们此权限,或者设置
exemptions.creative: true 并让他们在创造模式下建造。
我编辑了 config.yml 但没有任何变化
运行 /elytrathorn reload。如果仍然没有应用,你的 YAML 可能格式错误 —— 在重载时检查服务器控制台,并确保你使用空格进行缩进,绝不要使用制表符。
服务器拒绝加载插件
几乎总是版本不匹配。此构建针对 Minecraft 26.2;旧服务器会拒绝它。使用 /version 检查你的服务器版本。
玩家仍然可以四处飞行
在现代 Minecraft 中,滑翔并非鞘翅独占。此插件针对的是物品本身,而不是飞行本身,因此其他来源的滑翔或飞行不受影响。
有人死了但收到了错误的死亡消息
自定义消息仅应用于此插件导致的死亡。如果玩家被图腾拯救,随后死于其他原因,他们将收到该死亡的正常消息。
ElytraThorn - How To Use
What it does: any player who puts an elytra in their chestplate slot dies instantly*. Carrying one is fine. The plugin only triggers when the elytra is actually worn.
*configurable
Setup
On first start the plugin creates plugins/ElytraThorn/config.yml. Edit that file, then run
/elytrathorn reload in-game or from console. No restart needed for config changes.
To check it loaded, run /elytrathorn status.
Commands
All commands require the elytrathorn.admin permission, which operators have by default.
Short aliases: /et and /ethorn.
| Command |
What it does |
/elytrathorn status |
Shows current settings. Start here if something seems off |
/elytrathorn reload |
Applies changes you made to config.yml |
/elytrathorn toggle |
Turns the plugin on or off, and saves that choice |
/elytrathorn toggle writes to config.yml, so the setting survives a restart. Handy for
temporarily disabling the plugin during an event without editing files.
Permissions
| Permission |
Who has it by default |
What it grants |
elytrathorn.admin |
Operators |
Use of the commands above |
elytrathorn.bypass |
Nobody |
Wear an elytra without being killed |
Operators are killed too. Being op does not grant elytrathorn.bypass — you have to give it
explicitly. This is intentional, so the rule applies to staff unless you decide otherwise.
With LuckPerms, granting it looks like:
/lp user Steve permission set elytrathorn.bypass true
/lp group admin permission set elytrathorn.bypass true
Settings
All of these live in plugins/ElytraThorn/config.yml.
| Setting |
Default |
What it does |
enabled |
true |
Master switch. false = plugin loaded but never kills anyone |
check-interval-ticks |
5 |
How often players are checked (20 ticks = 1 second). Raise it to reduce load |
kill.bypass-totem |
true |
true = totems can't save them. false = a totem of undying still works |
kill.remove-elytra |
false |
true = the elytra is destroyed. false = it drops with their other items |
kill.strike-lightning |
false |
Cosmetic lightning bolt. Deals no damage and starts no fires |
kill.play-sound |
true |
Thunder sound, heard only by the player who died |
exemptions.bypass-permission |
true |
Whether elytrathorn.bypass works. false = nobody can ever be exempt |
exemptions.creative |
true |
Don't kill players in creative mode |
exemptions.spectator |
true |
Don't kill players in spectator mode |
exemptions.disabled-worlds |
[] |
List of worlds where the plugin does nothing |
messages.prefix |
— |
Shown before command and victim messages |
messages.victim |
— |
Private message to the player who died |
messages.death-message |
— |
Public death message. %player% becomes their name |
messages.reloaded / toggled-on / toggled-off |
— |
Command feedback |
Messages: use & colour codes (&c red, &e yellow, and so on). Set any message to "" to
hide it, including death-message, which falls back to the normal vanilla death message.
Common setups
Let staff use elytras, but nobody else
Leave the defaults, then grant elytrathorn.bypass to your staff group.
Allow elytras in one world only
exemptions:
disabled-worlds: ["elytra_course"]
Give players one escape via totem
kill:
bypass-totem: false
Their totem will pop and save them, but the check runs again a quarter second later, so they have
to actually take the elytra off. It buys a moment of panic, not immunity.
Destroy the elytra so it can't be reused
kill:
remove-elytra: true
Make it dramatic
kill:
strike-lightning: true
Silent mode: no messages at all
kill:
play-sound: false
messages:
victim: ""
death-message: ""
Reduce load on a very large server
check-interval-ticks: 20
The plugin still reacts instantly when someone equips an elytra normally; this only slows the
background check that catches unusual cases.
Troubleshooting
Nothing happens when someone wears an elytra
Run /elytrathorn status. Check in order: is Enabled yes? Are they in creative or spectator (both
exempt by default)? Are they in a world listed under Disabled worlds? Do they have
elytrathorn.bypass?
My admins keep dying
Expected: op does not grant elytrathorn.bypass. Grant it to them explicitly, or set
exemptions.creative: true and have them build in creative.
I edited config.yml and nothing changed
Run /elytrathorn reload. If it still doesn't apply, your YAML is probably malformed — check the
server console on reload, and make sure you used spaces for indentation, never tabs.
The server refuses to load the plugin
Almost always a version mismatch. This build targets Minecraft 26.2; older servers reject it. Check
your server version with /version.
Players can still fly around
In modern Minecraft, gliding isn't exclusive to elytras. This plugin targets the item, not flight
itself, so other sources of gliding or flight are unaffected.
Someone died and got the wrong death message
The custom message is only applied to kills this plugin caused. If a player was saved by a totem and
died to something else later, they'll get that death's normal message.
评论 0
登录后参与评分
还没有评论,来抢沙发吧