CurseForge · Minecraft mod
Custom Clear Lag
Optimal Fluidity, Enhanced Experience
Quick answer
Which Custom Clear Lag release should I use?
Custom Clear Lag custom_clear_lag-1.0.9-neoforge-1.21.4.jar targets 1.21.4 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Custom Clear Lag required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Custom Clear Lag custom_clear_lag-1.0.9-neoforge-1.21.4.jar need?
custom_clear_lag-1.0.9-neoforge-1.21.4.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Custom Clear Lag without breaking your instance.
Built for Custom Clear Lag custom_clear_lag-1.0.9-neoforge-1.21.4.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use custom_clear_lag-1.0.9-neoforge-1.21.4.jar. It targets 1.21.4 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside custom_clear_lag-1.0.9-neoforge-1.21.4.jar. It opens that exact file at the source.
About this project
What does Custom Clear Lag add?
Keep Your Minecraft Server Smooth! 🚀
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.
⚙️ How does it work?
The "Custom Clear Lag" mod works in the background on your server. Here are the key steps:
- 📝 Configuration: When the server starts for the first time with the mod installed, a configuration file named
clear_lag.jsonis created in theconfig/oas_work/folder. - 📖 Reading the configuration file: The mod reads this
clear_lag.jsonfile to find out:- ⏱️
time: After how many minutes the cleanup should be performed (default is 5 minutes). - 💥
command: Which command should be executed for the cleanup (default iskill @ewhich kills all entities, be careful!).
- ⏱️
- ⏳ Countdown: The mod counts the time elapsed in the game.
- 🧹 Automatic Cleanup: Once the configured time has elapsed, the mod executes the command defined in the configuration file. After the cleanup, the time counter is reset and starts again.
🎮 How to use it?
**🛠️ Configuration (optional but **recommended**):**
- 📂 Locate the configuration file: Go to the
config/oas_work/folder of your server and open theclear_lag.jsonfile with a text editor. - ✏️ Modify the settings:
"time": 5,Change5to the desired number of minutes between each cleanup (e.g.,10for 10 minutes)."command": "kill @e"⚠️ VERY IMPORTANT: The default commandkill @ekills ALL entities (items on the ground, animals, players…). You MUST change it to a more targeted cleanup command. For example:"/kill @e[type=!minecraft:player,distance=500]"(Kills all entities except players, more than 500 blocks away - adapt to your server)./minecraft:kill @e[type=!player,tag=!keep](Requires tags to protect certain entities, more advanced).
- 💾 Save the
clear_lag.jsonfile. 🔄 Changes are applied immediately, no server restart needed!
- 📂 Locate the configuration file: Go to the
🕹️ In-game commands (for server operators):
Open the server console or the in-game chat (if you are an operator) and use the command:
/cclearlag/cclearlag stop <true/false>:/cclearlag stop true🛑 Stops automatic cleanup./cclearlag stop false✅ Reactivates automatic cleanup.
/cclearlag reset <true/false>or/cclearlag reset:- 🔄 Resets the timer. The countdown to the next cleanup will restart from zero. The
true/falseargument has no effect here, onlyresetmatters.
- 🔄 Resets the timer. The countdown to the next cleanup will restart from zero. The
📌 Important Points:
- 🌐 Hosting Compatibility: This mod works on all types of Minecraft Forge/NeoForge servers.
- 🔑 Permissions: Only server operators (level 4) can use the
/cclearlagcommand. - ⚠️ Essential Configuration: Absolutely change the default
kill @ecommand inclear_lag.json! Use a more suitable command for your server to avoid deleting important entities (players, tamed animals, etc.). - 🔄 Instant Changes: Modifications to the
clear_lag.jsonfile are applied immediately, without restarting the server.
Project description from CurseForge.
Pick your setup
Custom Clear Lag by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Custom Clear Lag versions and loaders
custom_clear_lag-1.1.0-neoforge-1.21.4.jar
17 Mar 2025
custom_clear_lag-1.0.9-neoforge-1.21.4.jar
13 Mar 2025
custom_clear_lag-1.0.8-neoforge-1.21.4.jar
22 Feb 2025
custom_clear_lag-1.0.5-1-neoforge-1.21.1.jar
14 Nov 2024
custom_clear_lag-1.0.4-neoforge-1.21.1.jar
11 Nov 2024
custom_clear_lag-0.0.3-2-neoforge-1.21.1.jar
custom_clear_lag-0.0.3-neoforge-1.21.1.jar
6 Nov 2024
custom_clear_lag-0.0.2-neoforge-1.21.1.jar
28 Sept 2024
Looking for an older file? The official CurseForge project page is in Resources.