Mod AntiGhost by Giselbaer

  • AntiGhost by Giselbaer

    Remove Ghost blocks / request the server to resend blocks around the player
    • 5830805
    • 46.06 KB
    • 1.20.1
    • July 29, 2017
    • June 27, 2023
    • Map and Information
    AntiGhost
Mod Information
NameAntiGhostAuthorGiselbaerDescriptionRemove Ghost blocks / request the server to resend blocks around the player
InformationDownloads: 5830805
Version: 1.20.1
Size: 46.06 KB
Updated at: June 27, 2023
Created at: July 29, 2017
Tags
Map and Information

This mod works with Fabric right now

When downloading, please make sure to go to the Files tab, and download the version for your modloader. The files have "fabric" or "forge" in their name. Curseforge doesn't always show the correct versions on the main page.

Want to help translate this mod to your language?

You can help me translate this mod on https://crowdin.com/project/antighost.


Mod description

Ghost blocks are blocks that seem to be air to the client, but are solid to the server. They occur when the server and client are out of sync; in many cases, this happens when a haste effect wears off and there's some network latency between both. The server tells the client the haste effect is gone, but the client doesn't know about this yet and sends block break events to the server at full speed. The server thinks the client is cheating so it doesn't break the blocks; the client doesn't know that so it thinks the blocks are air now. When the player tries moving into those blocks, the server kicks him back.

I've seen this most often on servers that have MCMMO enabled, when super breaker runs out, but it happens when beacon effects are ending as well.

Generally, the only way to fix this is relogging, or porting away and back, to unload and re-load the chunks. This mod asks the server to resend all blocks around the player when you type /ghost, within a 4 block radius cube, thus making relogging unneccesary. Or, just press the G key.

The effect, and the mod in action, can be seen on https://www.youtube.com/watch?v=mHhuU9j4ORo