Custom Clear Lag

โญ โ€” (11 endorsements) ๐Ÿ“ฅ 3,300 downloads ๐Ÿ“Œ v1.1.0 ๐Ÿ“… 4/29/2024
๐ŸŸ  Updated over a year ago

By DreykaOas ยท mobs

โฌ‡ Download Mod Source: Modrinth โ†— ๐Ÿ“… Updated: 3/17/2025 ๐Ÿ“… Created: 4/29/2024
โš ๏ธ Install Order ยท 2 steps
1๐Ÿ› ๏ธ Forge โ€” Minecraft Forge (mod loader) Download โ†—
2๐Ÿ› ๏ธ Fabric โ€” Fabric Loader Download โ†—

Install in this order, then this mod last โ€” most mods fail to load without their framework and dependencies in place.

๐Ÿ” Analysis

  • ๐Ÿ‘ 0.3% endorsement rate
  • ๐Ÿ† #3 of 5 mobs mods in this game by downloads

๐Ÿ“‹ About This Mod

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: 1. **๐Ÿ“ Configuration:** When the server starts for the first time with the mod installed, a configuration file named `clear_lag.json` is created in the `config/oas_work/` folder. 2. **๐Ÿ“– Reading the configuration file:** The mod reads this `clear_lag.json` file 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 is `kill @e` which kills all entities, **be careful!**). 3. **โณ Countdown:** The mod counts the time elapsed in the game. 4. **๐Ÿงน 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?** 1. **๐Ÿ› ๏ธ Configuration (optional but **recommended**):** * **๐Ÿ“‚ Locate the configuration file:** Go to the `config/oas_work/` folder of your server and open the `clear_lag.json` file with a text editor. * **โœ๏ธ Modify the settings:** * **`"time": 5,`** Change `5` to the desired number of minutes between each cleanup (e.g., `10` for **10 minutes**). * **`"command": "kill @e"`** **โš ๏ธ VERY IMPORTANT:** The default command `kill @e` kills ***ALL*** entities (items on the ground, animals, players...). **You MUST change it to a more targeted cleanup command.** For example: * `"/kill @e"` (Kills all entities except players, more than 500 blocks away - ***adapt to your server***). * `/minecraft:kill @e` (Requires tags to protect certain entities, more advanced). * **๐Ÿ’พ Save** the `clear_lag.json` file. *๐Ÿ”„ **Changes are applied immediately, no server restart needed!*** 2. **๐Ÿ•น๏ธ 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/false` argument has no effect here, only `reset` matters. **๐Ÿ“Œ Important Points:** * **๐ŸŒ Hosting Compatibility:** This mod works on all types of Minecraft Forge/NeoForge servers. * **๐Ÿ”‘ Permissions:** Only server operators (level 4) can use the `/cclearlag` command. * **โš ๏ธ Essential Configuration:** ***Absolutely change the default `kill @e` command in `clear_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.json` file are applied **immediately**, without restarting the server. --- _**๐Ÿ“ข We're Recruiting French Speakers!** Want to contribute to more awesome Minecraft mods and projects? We are looking for people who can speak French to join our team. For more information, please reach out via email: persodreykaoas@gmail.com_

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:

1. ๐Ÿ“ Configuration: When the server starts for the first time with the mod installed, a configuration file named `clear_lag.json` is created in the `config/oas_work/` folder. 2. ๐Ÿ“– Reading the configuration file: The mod reads this `clear_lag.json` file 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 is `kill @e` which kills all entities, be careful!). 3. โณ Countdown: The mod counts the time elapsed in the game. 4. ๐Ÿงน 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?

1. ๐Ÿ› ๏ธ Configuration (optional but recommended): ๐Ÿ“‚ Locate the configuration file: Go to the `config/oas_work/` folder of your server and open the `clear_lag.json` file with a text editor. โœ๏ธ Modify the settings: `"time": 5,` Change `5` to the desired number of minutes between each cleanup (e.g., `10` for 10 minutes). `"command": "kill @e"` โš ๏ธ VERY IMPORTANT: The default command `kill @e` kills ALL entities (items on the ground, animals, players...). You MUST change it to a more targeted cleanup command. For example: `"/kill @e"` (Kills all entities except players, more than 500 blocks away - adapt to your server). `/minecraft:kill @e` (Requires tags to protect certain entities, more advanced). ๐Ÿ’พ Save the `clear_lag.json` file. ๐Ÿ”„ Changes are applied immediately, no server restart needed!

2. ๐Ÿ•น๏ธ 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 ` : `/cclearlag stop true` ๐Ÿ›‘ Stops automatic cleanup. `/cclearlag stop false` โœ… Reactivates automatic cleanup.

`/cclearlag reset ` or `/cclearlag reset` : ๐Ÿ”„ Resets the timer. The countdown to the next cleanup will restart from zero. The `true/false` argument has no effect here, only `reset` matters.

๐Ÿ“Œ Important Points:

๐ŸŒ Hosting Compatibility: This mod works on all types of Minecraft Forge/NeoForge servers. ๐Ÿ”‘ Permissions: Only server operators (level 4) can use the `/cclearlag` command. โš ๏ธ Essential Configuration: Absolutely change the default `kill @e` command in `clear_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.json` file are applied immediately, without restarting the server.

  • --
  • _๐Ÿ“ข We're Recruiting French Speakers! Want to contribute to more awesome Minecraft mods and projects? We are looking for people who can speak French to join our team. For more information, please reach out via email: persodreykaoas@gmail.com_
๐Ÿค– AI-enhanced โ€” based on mod data

๐Ÿ“Š Mod Details

Game
Minecraft Mods
Author
DreykaOas
Version
1.1.0
Downloads
3,300
Endorsements
11
Category
mobs
Created
4/29/2024
Updated
3/17/2025
Game Versions
1.21.4
Tags
mobs, optimization, worldgen

๐Ÿ”ง How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

๐Ÿ“– Full step-by-step install guide for Minecraft Mods โ†’

Visit the official mod page for specific installation instructions for this mod.

๐ŸŽฎ Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

โ“ Frequently Asked Questions

Which Minecraft Mods versions does Custom Clear Lag support?

The author lists 1.21.4. Other versions may work but are untested by the author.

What is the latest version of Custom Clear Lag?

Version 1.1.0, published 2025-03-17 with 3,300 downloads recorded at the source.

Keep browsing โ€” more Minecraft Mods mods await

๐Ÿ“‹ All Minecraft Mods Mods ๐Ÿ† Top 25 ๐Ÿ“‚ More mobs ๐Ÿ‘ค More by DreykaOas ๐Ÿ”Ž Similar Mods ๐ŸŒ Best mobs (All Games) ๐Ÿ”€ Check Compatibility โš–๏ธ Compare Mods ๐Ÿ†• New Mods