NetherExile (Paper 1.21.x)
NetherExile 是一款 Paper 插件,它将死亡转化为临时的“下界流放”。
默认情况下,当玩家在主世界死亡时流放开始:在死亡位置附近放置一个锚石(lodestone)和玩家头颅,玩家在下界重生,直到被复活(通过破坏锚石/头颅标记、自动破坏超时,或岩浆流过标记点)之前无法离开。
可选地,如果 nethernetherdeath_enabled=true,流放也可以从玩家在下界的初次死亡开始。
功能
- 死亡标记
- 在死亡位置放置一个锚石和玩家头颅。
- 如果玩家在空气中死亡,标记将放置在下方的地面上。
- 如果玩家在岩浆中死亡,标记将放置在岩浆表面之上。
- 下界流放
- 重生时,玩家会被传送至下界的主世界等效位置(
x/8, z/8),并搜索安全位置,同时避免撞上地狱岩天花板。
- 被流放的玩家无法离开下界(传送门会被熄灭;传送到其他维度的行为会被阻止)。
- 如果被流放的玩家在下界死亡,他们将被送回其最初进入下界的位置,并显示“无路可逃”消息(如果已启用)。
- 下界 -> 下界流放(可选)
- 如果
nethernetherdeath_enabled=true,玩家在下界的初次死亡也会触发流放。
- 他们的锚石/头颅标记会放置在死亡位置附近(遵循相同的空气/岩浆放置规则)。
- 重生后,他们会被送回到上次通过传送门进入下界的地方(主世界 -> 下界)。
- 复活
- 破坏锚石或头颅即可复活玩家。
- 破坏者将获得该死亡玩家的头颅物品。
- 闪电击中锚石,且玩家返回主世界时会遭到闪电劈中。
- 复活的玩家获得30秒再生效果。
- 防作弊:如果死亡玩家停留在其下界入口点附近,他们将在距离原始死亡地点约100格处复活(随机方向)。
- 标记规则
- 箭矢破坏锚石(可选)
- 如果
breakwitharrow_enabled=true,用箭射击锚石可以触发复活。
- 世界边界安全
- 复活传送会被限制在世界边界内,并移动到安全的站立点。
- 自动破坏(可选)
- 如果在超时时间内无人破坏标记,插件会自动破坏它并复活玩家。
- 计时器基于玩家在线时的游戏时间(因此登出不会推进计时器)。
- 可选的渐进式模式:每次新的流放可以使该玩家的超时时间翻倍。
- 骷髅模式(可选)
- 在下界刷新的死亡玩家会装备一个骷髅头颅,上面命名有死亡坐标和时间。
命令
所有命令均位于 /netherexile 之下。
/netherexile help
/netherexile status
/netherexile enable
/netherexile disable
/netherexile revive <player>
/netherexile autobreak <status|on|off|set> [duration]
- 持续时间支持:
s、m、h、d(示例:60s、30m、1h、1d)
/netherexile progressive <status|on|off|cap> [value]
- 渐进式(翻倍)控制,包括可选的最大上限(通过
cap 设置)。仅在启用自动破坏时有意义。
/netherexile netherpenalty <status|on|off|set|cap> [value]
- 可选:当死亡玩家在下界再次死亡时,增加剩余自动破坏计时器的时间。
/netherexile messages <on|off>
/netherexile bedreturn <on|off>
- 如果启用,复活的玩家将返回到其床/重生点(如果可用)。
/netherexile skeleton <on|off>
/netherexile nethernetherdeath <on|off>
/netherexile breakwitharrow <on|off>
权限
netherexile.toggle (默认: op)
netherexile.revive (默认: op)
netherexile.autobreak (默认: op)
配置
plugins/NetherExile/config.yml(默认值位于 src/main/resources/config.yml):
netherexile_enabled: 总开关
messages_enabled: 面向玩家的消息
revive_to_bed_enabled: 如果可用,复活到床/重生点
autobreak_enabled: 启用自动破坏超时
autobreak_after: 基础超时时间(例如 1h)
autobreak_progressive_enabled: 每次新流放使超时时间翻倍
autobreak_progressive_max: 渐进式翻倍的可选最大上限(例如 12h,或 off)
nether_death_penalty_enabled: 当死亡玩家在下界死亡时增加时间(可选)
nether_death_penalty: 每次下界死亡增加的时间量(例如 5m)
nether_death_max_remaining: 惩罚后剩余时间的上限(例如 6h,或 off)
skeleton_enabled: 为下界中的死亡玩家装备骷髅头颅
nethernetherdeath_enabled: 也在下界初次死亡时开始流放
breakwitharrow_enabled: 允许通过用箭射击来破坏锚石
near_entry_threshold_blocks: 控制防作弊“在100格外复活”的行为
revive_offset_blocks: 靠近入口时的复活偏移距离
regen_seconds, regen_amplifier: 复活增益效果
portal_extinguish_radius: 在死亡玩家周围搜索多远以寻找要熄灭的传送门方块
portal_extinguish_max_blocks: 要移除的最大连接传送门方块数(安全上限)
数据文件
在 plugins/NetherExile/ 中:
dead.yml: 当前被放逐玩家的状态(标记位置、下界入口等)
history.yml: 每位玩家的渐进式超时历史记录(当 autobreak_progressive_enabled=true 时使用)
entries.yml: 最近已知的下界传送门入口位置(由 nethernetherdeath_enabled 使用)
安装
- 将 jar 文件放入服务器的
plugins/ 文件夹中。
- 启动服务器一次以生成
plugins/NetherExile/config.yml。
- 根据需要进行配置,然后重启或重载服务器。
说明 / 已知行为
- 标记放置会替换其放置位置的方块(对于岩浆死亡情况,它会在岩浆上方放置而不是替换岩浆)。
- 自动解除倒计时仅在死亡玩家在线时(游戏内时间)进行。
- 如果您的服务器运行在离线模式下,头像的玩家皮肤渲染可能会因客户端/缓存行为而表现不一致。
NetherExile (Paper 1.21.x)
NetherExile is a Paper plugin that turns death into a temporary "Nether exile".
By default, exile starts when a player dies in the Overworld: a lodestone + their head is placed at/near the death location, they respawn in the Nether, and cannot leave until revived (by breaking the lodestone/head marker, by auto-break timeout, or by lava flowing onto the marker).
Optionally, if nethernetherdeath_enabled=true, exile can also start from a player's first death in the Nether.
Features
- Death marker
- Places a lodestone and player head at the death location.
- If the player dies in the air, the marker is placed on the ground below.
- If the player dies in lava, the marker is placed on top of the lava surface.
- Nether exile
- On respawn, the player is teleported to the Nether at the Overworld-equivalent location (
x/8, z/8), searching for a safe position and avoiding the Nether roof.
- Exiled players cannot leave the Nether (portals are extinguished; teleporting to other dimensions is blocked).
- If an exiled player dies in the Nether, they are sent back to their original Nether entry location and shown a "no escape" message (if enabled).
- Nether -> Nether exile (optional)
- If
nethernetherdeath_enabled=true, a player's first death in the Nether also starts the exile.
- Their lodestone/head marker is placed at/near the Nether death location (same air/lava placement rules).
- On respawn, they are sent back to where they last entered the Nether via portal (Overworld -> Nether).
- Revival
- Breaking the lodestone or head revives the player.
- The breaker receives the dead player's head item.
- Lightning strikes the lodestone, and the revived player is struck with lightning on return to the Overworld.
- Revived players get 30s Regeneration.
- Anti-grief: if the dead player stayed near their Nether entry point, they are revived ~100 blocks away from the original death spot (random direction).
- Marker rules
- Dead players cannot break their own lodestone/head marker to revive themselves.
- Break Lodestone With Arrow (optional)
- If
breakwitharrow_enabled=true, shooting the lodestone with an arrow can trigger revival.
- World border safety
- Revive teleports are clamped inside the world border and moved to a safe standing spot.
- Auto-break (optional)
- If nobody breaks the marker after a timeout, the plugin auto-breaks it and revives the player.
- Timers are based on in-game time while the player is online (so logging out does not advance the timer).
- Optional progressive mode: each new exile can double that player's timeout.
- Skeleton mode (optional)
- Dead players spawning in the Nether are equipped with a skeleton skull named with death coords and time.
Commands
All commands are under /netherexile.
/netherexile help
/netherexile status
/netherexile enable
/netherexile disable
- Disabling clears current "dead" state (markers are not removed).
/netherexile revive <player>
- Revives a currently-dead player (same effect as breaking their marker).
/netherexile autobreak <status|on|off|set> [duration]
- Duration supports:
s, m, h, d (examples: 60s, 30m, 1h, 1d)
/netherexile progressive <status|on|off|cap> [value]
- Progressive (doubling) controls, including optional max cap (via
cap). Only meaningful when auto-break is enabled.
/netherexile netherpenalty <status|on|off|set|cap> [value]
- Optional: add time to the remaining auto-break timer when a dead player dies in the Nether.
/netherexile messages <on|off>
- Toggle player-facing messages (trap/revive/etc).
/netherexile bedreturn <on|off>
- If enabled, revived players return to their bed/respawn point when available.
/netherexile skeleton <on|off>
- Toggle skeleton helmet feature.
/netherexile nethernetherdeath <on|off>
- If enabled, a player's first death in the Nether can start the exile too.
/netherexile breakwitharrow <on|off>
- If enabled, shooting a lodestone with an arrow can trigger revival.
Permissions
netherexile.toggle (default: op)
netherexile.revive (default: op)
netherexile.autobreak (default: op)
Configuration
plugins/NetherExile/config.yml (defaults are in src/main/resources/config.yml):
netherexile_enabled: master enable/disable
messages_enabled: player-facing messages
revive_to_bed_enabled: revive to bed/respawn location if available
autobreak_enabled: enable auto-break timeout
autobreak_after: base timeout (e.g. 1h)
autobreak_progressive_enabled: double timeout each new exile
autobreak_progressive_max: optional max cap for progressive doubling (e.g. 12h, or off)
nether_death_penalty_enabled: add time when a dead player dies in the Nether (optional)
nether_death_penalty: how much time to add per Nether death (e.g. 5m)
nether_death_max_remaining: cap on remaining time after penalties (e.g. 6h, or off)
skeleton_enabled: equip skeleton skull in Nether for dead players
nethernetherdeath_enabled: start exile on first Nether death too
breakwitharrow_enabled: allow breaking lodestone by shooting it with an arrow
near_entry_threshold_blocks: controls anti-grief "revive 100 blocks away" behavior
revive_offset_blocks: the revive offset distance when near-entry
regen_seconds, regen_amplifier: revival buff
portal_extinguish_radius: how far to search around a dead player for a portal block to extinguish
portal_extinguish_max_blocks: max connected portal blocks to remove (safety cap)
Data files
In plugins/NetherExile/:
dead.yml: current exiled player state (marker locations, nether entry, etc.)
history.yml: per-player progressive timeout history (used when autobreak_progressive_enabled=true)
entries.yml: last known Nether portal entry locations (used by nethernetherdeath_enabled)
Install
- Put the jar into your server's
plugins/ folder.
- Start the server once to generate
plugins/NetherExile/config.yml.
- Configure as desired and restart/reload.
Notes / Known behavior
- Marker placement replaces blocks where it is placed (for lava deaths it places above lava rather than replacing lava).
- Auto-break countdown only progresses while the dead player is online (in-game time).
- If your server runs in offline mode, player skin rendering for heads may be inconsistent depending on client/cache behavior.
评论 0
登录后参与评分
还没有评论,来抢沙发吧