Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.5
Platforms
Tags
Creators
Details
Licensed ARR
Published 4 hours ago
Updated last month

- ⏱️ Configurable automatic cleanup — enable or disable it and set the interval
- 📢 Customizable warnings before each cleanup
- 🎯 Configurable entity categories — items, projectiles, experience orbs, boats, minecarts, item frames, paintings, TNT, and mobs
- 🛡️ Player protection — players are never removed
- 🐾 Targeted mob protection by entity type and custom name
- 👑 MythicMobs support — protect custom mobs by their internal IDs
- 📍 Area cleanup within a radius around the player
- 🌍 Current-world or all-world cleanup
- 🧩 ItemsAdder entity protection during cleanups, with an option to include them in area cleanups
- 🔄 Hot reload for
config.ymlandlang.yml, with no server restart required - 💬 Customizable messages with color and gradient support

Main command: /clearlagg (alias: /lagg)
| Command | Description | Permission |
|---|---|---|
/clearlagg |
Show the help menu | clearlag.command |
/clearlagg time |
Check the time remaining until the next automatic cleanup | clearlag.time |
/clearlagg clear |
Clean configured entities in the current world | clearlag.clear |
/clearlagg clearall |
Clean configured entities in all worlds | clearlag.clearall |
/clearlagg area <radius> [-ia] |
Clean entities around you; -ia includes ItemsAdder entities |
clearlag.area |
/clearlagg reload |
Reload the configuration and messages | clearlag.reload |
clear and area are player-only commands. clearall, time, and reload can also be run from the console.

| Permission | Description | Default |
|---|---|---|
clearlag.* |
Access to all ClearLagg commands | op |
clearlag.command |
Access to the main command | op |
clearlag.time |
Check the time until the next cleanup | true |
clearlag.clear |
Clean the current world | op |
clearlag.clearall |
Clean all worlds | op |
clearlag.area |
Clean entities within a radius | op |
clearlag.reload |
Reload the plugin | op |
Access to /clearlagg also requires clearlag.command; each subcommand checks its own permission as well.

The config.yml and lang.yml files are created in the plugin's data folder.
- In
config.yml, configure the cleanup interval, warnings, entity categories to remove, and mobs to protect. - In
lang.yml, customize the messages displayed in-game. - MythicMobs can be protected using their internal IDs.
- The
protected-mobsrules can remove an entire mob type or protect mobs by exact or partial name.
Use /clearlagg reload to apply changes without restarting the server.

- ItemsAdder — its entities are protected from cleanups by default. Use
/clearlagg area <radius> -iato include them in an area cleanup. - MythicMobs — protect custom mobs by adding their IDs to
mythicmobs.protected-mobs.


