ModsFinder

Custom Clear Lag

by DreykaOas

Custom Clear Lag is a NeoForge optimization mod that removes entities from a Minecraft server on a timer, so lag from piled-up items and mobs is cut down.

NeoForgeClient and serverApache License 2.0Open source1.20.4 – 1.21.4

What it does

Once the configured interval passes, the mod runs a cleanup command set in the clear lag configuration file. The default interval is 5 minutes and the default command is kill @e, which removes entities, so the setting should be checked before use. After each cleanup the timer resets and begins counting again. The timer can be enabled or disabled with a command, and the configuration is optional but recommended.

The mod works in the background on the server and automatically cleans up entities at regular intervals to keep the server running smoothly. Installation requires NeoForge only. Custom Clear Lag is open source under the Apache License 2.0 and is published for 1.20.4 – 1.21.4, with 1.1.0 as the latest file for 1.21.4. Installation covers the server and each player's game.

Key features

  1. Automatic cleanup

    Entities are removed on a timer, so the server does not accumulate them between manual cleanups.

  2. Configurable interval

    The time between cleanups is set in the configuration file, with 5 minutes as the default.

  3. Configurable command

    The command run at each cleanup can be changed in the configuration, and the default kills entities, so it needs care.

  4. Timer control command

    An operator can enable or disable the reset timer with a command while the server runs.

Compatibility

Latest build for each game version and loader.

1.21.41.1.0
1.21.11.0.5-1
1.20.40.0.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Server owners who run survival or multiplayer worlds where dropped items and mobs build up and slow the server. Operators who want cleanup on a fixed schedule rather than by hand.

How it compares

Full comparison

CleanMaid is server-side only, open source under the MIT License and published for 1.21.1, so players can join without installing it. Fix Attack Lag is a NeoForge and Forge mod with files for 1.20.1 – 1.21.1, and only the server needs it while players may add it, and it is not open source. No Performance Only Lag is a client and server mod for NeoForge on 1.21.1 under All rights reserved, which is not open source.

ModLoadersGame versionsEnvironmentUpdated
Custom Clear LagNeoForge1.20.4 – 1.21.4Client and server2025-03-17
CleanMaidNeoForge1.21.1Server-side only2026-04-27
Fix Attack LagForge and NeoForge1.20.1 – 1.21.1Server required, client optional2026-03-18
No Performance Only LagNeoForge1.21.1Client and server2025-01-11

Questions

Does Custom Clear Lag need to be installed on both sides?

Yes. Installation covers the server and each player's game.

How is the cleanup interval changed?

The interval is set in the clear lag configuration file, where the default is 5 minutes. The file is optional, but it is recommended.

Can the timer be turned off while the server runs?

Yes. An operator can enable or disable the reset timer with a command from the server console or in-game chat.

In the catalog

Custom Clear Lag is one of 3,545 Optimization mods on ModsFinder, and one of 1,250 Optimization mods for NeoForge. 17,979 mods support Minecraft 1.21.4.

More from DreykaOas

All projects

Similar mods

What the author says

This mod automatically cleans up entities on your Minecraft server to prevent lag. It does this at regular intervals that you can configure. You can also enable/disable and reset the timer with a command. Open the server console or the in-game chat (if you are an operator) and use the command: /cclearlag
DreykaOas, on the Modrinth page

Official listing

Owner
DreykaOas
Published
2024-04-26
Updated on Modrinth
2025-03-17
Facts verified
2026-10-15

Tags