AntiElytraBorderDamage
一款轻量级的 Minecraft Paper/Spigot/Purpur/Folia 插件,防止玩家在高速飞行时撞上世界边界并受到鞘翅动能(撞击)伤害。
在设有世界边界的 Minecraft 服务器上,玩家若佩戴鞘翅快速飞行,可能会与世界边界发生碰撞并受到动能伤害,有时甚至会在来不及反应的情况下直接死亡。
AntiElytraBorderDamage 通过仅在玩家接触世界边界时取消鞘翅动能伤害来解决此问题。正常的鞘翅碰撞伤害不受影响。
如果你的玩家缺乏环境意识,并且有习惯性地撞向那面闪烁的亮蓝色墙壁,那么这款插件会非常有用。
工作原理
AntiElytraBorderDamage 注册了一个轻量级的 Bukkit 监听器,每当玩家受到动能伤害(即佩戴鞘翅飞行时撞到物体造成的伤害)时触发。如果玩家正在接触世界边界,该伤害将被取消。此判定非常精准(即使世界边界与玩家之间有一扇活板门,玩家仍会受到伤害),同时极其轻量,仅占用服务器 Tick 时间的约 0%。
支持版本
AntiElytraBorderDamage 设计极其简单,因此自 MC 1.11.2 以来的所有 Minecraft 版本均受支持,涵盖所有 Spigot 衍生平台,包括 Folia。这种简洁的设计意味着它将无需更新即可永久运行。
AntiElytraBorderDamage 使用 Java 17 编译,因此如果你运行的是 1.11.2-1.17.1 版本的 Minecraft,请确保你使用的是 Java 17 而非 Java 8-16。Minecraft 1.18.0 及更高版本需要比 AntiElytraBorderDamage 更高的 Java 版本,因此它将在这些版本中无需任何修改即可正常运行。
AntiElytraBorderDamage
A lightweight Minecraft Paper/Spigot/Purpur/Folia plugin that prevents players from taking Elytra kinetic (crash) damage when flying into the world border at high speed.
On Minecraft servers with a world border, players flying quickly with an Elytra can collide with the border and take kinetic damage, sometimes killing them before they have time to react.
AntiElytraBorderDamage fixes this by cancelling Elytra kinetic damage only when the player is touching the world border. Normal Elytra collision damage is unaffected.
This is useful if you have players with zero situational awareness and a habit of flying into a bright blue pulsating wall.
How it works
AntiElytraBorderDamage registers a lightweight bukkit listener that fires whenever a player experiences kinetic damage (damage from flying into something with an elytra). If the player is touching the world border, this damage is cancelled. This is highly accurate (even a trapdoor between the world border and the player will cause the player to receive the damage) while being incredibly lightweight and taking approximately 0% of your server's tick time.
Supported Versions
AntiElytraBorderDamage is incredibly simple, so all Minecraft versions since MC 1.11.2 are supported, on all Spigot-derivative platforms including Folia. This simple design means that it should continue to work forever without updates.
AntiElytraBorderDamage is compiled with Java 17, so if you are running on a Minecraft version from 1.11.2-1.17.1, you will need to ensure that you are running on Java 17 and not Java 8-16. Minecraft versions 1.18.0+ require a higher Java version than AntiElytraBorderDamage, so it will always run with no modifications.
评论 0
登录后参与评分
还没有评论,来抢沙发吧