Mace Glitch Fix (Paper)

Fixes the glitch where players abused ghost blocks to keep their mace damage bonus
Mace attack is cancelled and the player dies to fall damage.

Mace attack is cancelled and the player dies to fall damage.

Description

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.

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

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.

The Mace Glitch Fix (Paper) Team

profile avatar
  • 3
    Projects
  • 17
    Downloads

On and off plugin dev

Donate

More from DeactivatedMan_