
ClearLag
ClearLagg automatically removes unwanted entities from your server, helping maintain performance and reduce entity clutter. Integration: MythicMobs
!Features
!ClearLag !Spigot !Java
- ⏱️ 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
!Commands
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.
!Permissions
| 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.
!Configuration
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.
!Integrations
- 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.
Сервер для плагина ClearLag - как у профи
Плагин ClearLag создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином ClearLag для друзей можно за пару минут - BungeeHost всё уже подготовил.
