漏洞原理
通过少量红石和精准的时机(或者仅仅借助某个模组),玩家可以使客户端不渲染某个方块。在服务端该方块依然存在于原位,但如果玩家试图踩上去,会看到自己下落极短距离后又反复被弹回原处。这种机制能够阻止你的坠落伤害重置,从而让你持续保留伤害加成。对其他玩家而言,你看起来只是静止站立,但只要坠落高度足够,你仍然可以一击秒杀他们以及任何实体。
插件工作原理
一旦玩家尝试利用此漏洞对任何目标造成伤害,相关伤害将被完全取消,不会造成任何实际伤害。除 v1.0 版本外(该版本防止在地面使用),本插件不会影响正常的战锤(mace)正常使用。如果出现误报情况,请在我的 GitHub 仓库 提交新议题。
展示 GIF

配置
min-fall-distance - 下落距离小于此值(默认值为 5)的玩家将被忽略
cancel-fall-dmg - 如果玩家在设置过程中本应承受的坠落伤害是否仍要应用
do-ground-attack - 将出错的攻击视为普通的地面攻击
log-cancels - 插件是否应将每次检测到的攻击记录到控制台
developer-mode - 仅供测试使用,请阅读下文
测试功能 - 仅限 Paper
出于测试目的,我保留了一个 developer-mode(开发者模式)切换开关。该模式可以让管理员更容易地复现这些幽灵方块,因为此方法无需精确的操作时机。你只需放置一块基岩,其下方两格处的方块就会变成幽灵方块(前提是该位置原本是固体方块)。仅在测试期间启用此选项。
What the glitch is
With a small amount of redstone and good timing (or even just a mod), players can make their client not see a block. Serverside it's still there, but if the player were to walk onto it they would see themselves fall a fraction of a block and then teleport back up repeatedly. This somehow keeps your fall distance from resetting so you keep your damage bonus. To any other player it just looks like you're standing still, yet you can still one shot them and really any entity so long as you fell far enough.
How the plugin works
The moment that a player tries to damage anything with this exploit, it will be entirely cancelled with no damage dealt. Other than in v1.0 which prevented use on the ground, this will not affect regular mace use at all, if there are any false positives then please make a new issue on my GitHub.
Showcase GIF

Config
min-fall-distance - Players falling less than this (default 5) will be ignored
cancel-fall-dmg - If fall damage that the player would take in setting up should still be applied
do-ground-attack - Act as if the glitched attack was a regular on-ground attack
log-cancels - If the plugin should log each detected attack to console
developer-mode - Testing ONLY, read below
Testing - Paper Only
For testing purposes, I have left in a developer-mode toggle, which will make these ghost blocks easier for admins to replicate as this method doesn't require precise timing. All you have to do is place a piece of bedrock, and the block two down will become a ghost block provided that it was a solid block. Only leave this on for testing.
评论 0
登录后参与评分
还没有评论,来抢沙发吧