NewCraftRank SitesA free website and storeMake yours ›
AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Security RadarA free check of your server's login, anti-bot and proxy settings, only with your OK See how it works ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Resources / Plugins / Mob Despawn Fix

Mob Despawn Fix

Inspired by the Let Me Despawn mod / plugin, this eliminates one of Minecraft's most severe hidden lag sources: hundreds of cave mobs hoarding items…

PluginsFree1.13 – 26.x
by derexXD · listed from Modrinth
Download ›

Direct download from Modrinth · 2 downloads

What it does

Mob Despawn Fix is a plugin for Paper / Spigot servers, made by derexXD. Inspired by the Let Me Despawn mod / plugin, this eliminates one of Minecraft's most severe hidden lag sources: hundreds of cave mobs hoarding items…

It supports Minecraft 1.13 – 26.x. It has been downloaded 2 times on Modrinth. That puts it at #108 of the 117 performance plugins listed here. The last update came out on Nov 7, 2026.

Supported versions

26.x1.211.201.191.181.171.161.13

Release history

The newest is 1.0.0.0, released on Nov 7, 2026. It is made for Minecraft 1.13 – 26.3. It runs on Bukkit, Paper, Purpur and Spigot. The download is 18 KB.

VersionReleasedMinecraftType
1.0.0.0Nov 7, 20261.13 – 26.3Release

Commands

The commands named on the Modrinth page of Mob Despawn Fix:

/mdf/mobdespawnfix/ddespawn/effect
Description from the author on Modrinth
If this project helped you, please consider leaving some stars on the Github!

Mob Despawn Fix

A modern, high-performance Spigot/Paper server optimization plugin that eliminates subterranean mob-hoarding lag caused by monsters picking up ground items.

Inspired by Let Me Despawn by frikinjay and its earlier Paper fork by contionability. This project is a modern, clean-room Spigot/Paper rewrite designed from the ground up to support modern Minecraft versions (1.13.2 through 1.21+) while keeping worlds completely lag-free.


Description

In vanilla Minecraft, whenever a hostile mob (such as a Zombie, Skeleton, or Drowned) walks over and equips or picks up any dropped item from the ground, vanilla sets PersistenceRequired: 1b

Because of this mechanic, when players spend extended periods of time in an area, dark caves and aquifers beneath their bases gradually accumulate dozens or even hundreds of monsters that scooped up mob drops (rotten flesh, arrows, bones), chicken jockey eggs, or broken gravel.

These monsters:

  • Never despawn naturally when players move away.
  • Do not count towards the natural mob cap, allowing new monsters to continuously spawn and join the permanent horde.
  • Constantly consume server CPU ticks calculating pathfinding, line-of-sight, and collisions, slowly dragging down TPS and causing massive entity lag over long-term survival worlds.

Mob Despawn Fix dynamically overrides this persistence, allowing mobs that hoard junk items to despawn naturally like ordinary monsters, without putting player equipment, named mobs, or farms at risk.


Features

  • Natural Despawning: Hostile mobs picking up ground items remain subject to standard vanilla despawn distances (despawning naturally when players move 32–128+ blocks away) instead of becoming permanently persistent.
  • Safe by Default (Whitelist Mode): Configured with mode: whitelist out of the box. Only natural cave debris and mob drops (rotten_flesh, bone, arrow, egg, string, spider_eye, gunpowder, gravel, dirt, torch, etc.) allow despawning.
  • Player Gear Protection: If a player dies in a cave and a monster picks up their Diamond/Netherite gear, tools, or valuables, the monster retains full vanilla persistence so the player can return and recover their items.
  • Name Tag & Farm Safeguards: Any monster given a custom name via a Name Tag, or holding an item renamed in an anvil, is strictly preserved.
  • Vehicle Protection: Mobs contained inside boats, minecarts, or any vehicle are protected from despawning (ideal for iron farms, trading halls, and mob cages).
  • Retroactive Cave Cleanup: When added to established worlds where hundreds of mobs are already hoarding in caves, the plugin scans loaded chunks and cleanses pre-existing persistence from un-named hoarders.
  • Live In-Game Diagnostics: Includes built-in scanning tools (/mdf info) to diagnose hoarded mobs in loaded chunks, and a manual purge command (/mdf purge).

Commands & Permissions

All commands support the primary /mobdespawnfix command as well as the /mdf and /ddespawn aliases.

Command · Description · Permission
/mdf info · Scans loaded chunks and reports total monsters, persistent mobs, and hoarders. · mobdespawnfix.use
/mdf purge · Manually purges non-protected persistent hoarders across loaded chunks. · mobdespawnfix.use
/mdf reload · Reloads config.yml and updates whitelist/blacklist definitions on the fly. · mobdespawnfix.use


Configuration

Mode can be 'whitelist' (only listed items allow despawn) or 'blacklist' (all items allow despawn except listed ones)

mode: whitelist

Items mobs pick up that will allow them to despawn (used when mode: whitelist)

whitelist:

  • rotten_flesh
  • bone
  • arrow
  • string
  • spider_eye
  • gunpowder
  • slime_ball
  • glow_ink_sac
  • ink_sac
  • ender_pearl
  • egg
  • feather
  • raw_chicken
  • gravel
  • flint
  • dirt
  • cobblestone
  • stone
  • torch
  • redstone_torch
  • coal
  • raw_copper
  • raw_iron
  • kelp
  • seagrass

Items mobs pick up that will NEVER despawn (used when mode: blacklist)

blacklist:

  • diamond
  • diamond_sword
  • diamond_helmet
  • diamond_chestplate
  • diamond_leggings
  • diamond_boots
  • netherite_ingot
  • netherite_sword
  • netherite_helmet
  • netherite_chestplate
  • netherite_leggings
  • netherite_boots
  • totem_of_undying
  • elytra

Despawn mobs in vehicles (boats, minecarts, etc.)

despawn-vehicle: false

Despawn existing mobs that were marked persistent via holding items

retroactive-despawn-check: false

prevent-pickup-persistence: true
ignore-named-mobs: true
ignore-named-items: true


Why was this made?

6 years ago, I made a post on r/Minecraft:

/effect give @e[nbt= {PersistenceRequired:1b}] minecraft:glowing
This returned around 600 targets somehow, and showed a bunch of underground mobs that never despawned either. This is starting to make my world lag and I'm wondering why it's happening.

For years, survival worlds and servers have suffered from this exact mechanic—zombies hoarding chicken eggs, chicken jockey drops, and stray arrows in unlit caves below bases.

While the original Let Me Despawn mod tackled this on Forge/Fabric, the Paper/Spigot plugin version had not received any updates in over 4 years. We created this modern clean-room implementation to solve the problem for modern servers with clean code, safe defaults, and zero bloat.


❤️ Credits

Written by derexXD. Read it with pictures on Modrinth.

How to install Mob Despawn Fix

  1. Make sure your server runs Paper and Spigot on Minecraft 1.13 – 26.x.

  2. Download the .jar file from Modrinth and put it in the plugins folder of your server.

  3. Restart the server. Avoid /reload, many plugins do not handle it well.

  4. Type /plugins in the console: Mob Despawn Fix should be listed in green. Its config files are created in the plugins folder on the first start.

Full guide: How to install plugins on a Minecraft server

Compatibility

Minecraft versions
26.x, 1.21, 1.20, 1.19, 1.18, 1.17, 1.16, 1.13
Runs on
Paper, Spigot
Edition
Java
Needs
Nothing else
License
MIT
Price
Free
Upkeep
Actively updated (Nov 13, 2026)

Mob Despawn Fix compared with similar ones Compare all alternatives

ResourceDownloadsVersionsLast updatePrice
Mob Despawn Fixthe one you looked at21.13 – 26.x5 days agoFree
VillagerOptimizerxGinko25K1.16 – 1.21Jul 30, 2024Free
Let Me Despawnfrikinjay25.5M1.12 – 26.x9 days agoFree
LagLessmik_hd_621.21 – 26.xOct 3, 2026Free

Questions

Does Mob Despawn Fix work on Minecraft 26.x?

Yes. Mob Despawn Fix supports Minecraft 26.x. All supported versions: 26.x, 1.21, 1.20, 1.19, 1.18, 1.17, 1.16, 1.13.

Is Mob Despawn Fix free?

Yes. Mob Despawn Fix is free to download from Modrinth.

Which server software does Mob Despawn Fix run on?

Mob Despawn Fix runs on Paper and Spigot servers.

Is Mob Despawn Fix still updated?

Yes. The last update came out in the past day.

What are the best alternatives to Mob Despawn Fix?

The closest ones are VillagerOptimizer, Let Me Despawn and LagLess. Compare all alternatives

Alternatives to Mob Despawn Fix

LagLessPlugins · 1.21 – 26.x

LagLess is a lightweight Minecraft server optimization plugin designed to reduce unnecessary server load. It helps manage entities, items, mobs, and chunks…

Free62 downloads
Chorus Clear LagPlugins · 26.x

Smart, fully customizable lag cleaner for Paper: protected items and mobs, item recovery, TPS trigger, chunk limiter, hex colors and every message editable.

Free11 downloads
SuperHarvestPlugins · 1.8 – 26.x

Fast harvest, mining and tree chopping easily with a single mine, 3 in one to Vein-Mining with Animations but without lag! It's light weight lag free. [Open…

Free36,047 downloads
ClearLaggEnhancedPlugins · 1.20 – 26.x

The definitive ClearLagg successor for 1.20+. Boost TPS and fix lag on Paper, Spigot, and Folia with smart entity clearing and a real-time Admin GUI.

Free23,999 downloads
Compare all alternatives ›

Reviews

–★★★★★
0 reviews
50
40
30
20
10

Log in to leave a review.