{"id":52667,"date":"2026-06-03T00:48:11","date_gmt":"2026-06-02T21:48:11","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/"},"modified":"2026-06-03T00:48:11","modified_gmt":"2026-06-02T21:48:11","slug":"custom-clear-lag","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/","title":{"rendered":"Custom Clear Lag"},"content":{"rendered":"<p>Keep Your Minecraft Server Smooth! \ud83d\ude80<\/p>\n<p>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.<\/p>\n<p>**\u2699\ufe0f How does it work?**<\/p>\n<p>The &#8220;Custom Clear Lag&#8221; mod works in the background on your server. Here are the key steps:<\/p>\n<p>1. **\ud83d\udcdd 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.<br \/>\n2. **\ud83d\udcd6 Reading the configuration file:** The mod reads this `clear_lag.json` file to find out:<br \/>\n    * **\u23f1\ufe0f `time`:** After how many minutes the cleanup should be performed (default is **5 minutes**).<br \/>\n    * **\ud83d\udca5 `command`:** Which command should be executed for the cleanup (default is `kill @e` which kills all entities, **be careful!**).<br \/>\n3. **\u23f3 Countdown:** The mod counts the time elapsed in the game.<br \/>\n4. **\ud83e\uddf9 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.<\/p>\n<p>**\ud83c\udfae How to use it?**<\/p>\n<p>1. **\ud83d\udee0\ufe0f Configuration (optional but **recommended**):**<br \/>\n    * **\ud83d\udcc2 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.<br \/>\n    * **\u270f\ufe0f Modify the settings:**<br \/>\n        * **`&#8221;time&#8221;: 5,`** Change `5` to the desired number of minutes between each cleanup (e.g., `10` for **10 minutes**).<br \/>\n        * **`&#8221;command&#8221;: &#8220;kill @e&#8221;`**  **\u26a0\ufe0f VERY IMPORTANT:** The default command `kill @e` kills ***ALL*** entities (items on the ground, animals, players&#8230;). **You MUST change it to a more targeted cleanup command.** For example:<br \/>\n            * `&#8221;\/kill @e[type=!minecraft:player,distance=500]&#8221;` (Kills all entities except players, more than 500 blocks away &#8211; ***adapt to your server***).<br \/>\n            * `\/minecraft:kill @e[type=!player,tag=!keep]` (Requires tags to protect certain entities, more advanced).<br \/>\n    * **\ud83d\udcbe Save** the `clear_lag.json` file. *\ud83d\udd04 **Changes are applied immediately, no server restart needed!***<\/p>\n<p>2. **\ud83d\udd79\ufe0f In-game commands (for server operators):**<\/p>\n<p>   Open the server console or the in-game chat (if you are an operator) and use the command: `\/cclearlag`<\/p>\n<p>   * **`\/cclearlag stop <true\/false>`** :<br \/>\n     * `\/cclearlag stop true` **\ud83d\uded1 Stops** automatic cleanup.<br \/>\n     * `\/cclearlag stop false` **\u2705 Reactivates** automatic cleanup.<\/p>\n<p>   * **`\/cclearlag reset <true\/false>` or `\/cclearlag reset`** :<br \/>\n     *  **\ud83d\udd04 Resets the timer.** The countdown to the next cleanup will restart from zero. The `true\/false` argument has no effect here, only `reset` matters.<\/p>\n<p>**\ud83d\udccc Important Points:**<\/p>\n<p>* **\ud83c\udf10 Hosting Compatibility:** This mod works on all types of Minecraft Forge\/NeoForge servers.<br \/>\n* **\ud83d\udd11 Permissions:** Only server operators (level 4) can use the `\/cclearlag` command.<br \/>\n* **\u26a0\ufe0f 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.).<br \/>\n* **\ud83d\udd04 Instant Changes:** Modifications to the `clear_lag.json` file are applied **immediately**, without restarting the server.<\/p>\n<p>&#8212;<br \/>\n_**\ud83d\udce2 We&#8217;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_<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Optimal Fluidity, Enhanced Experience<\/p>\n","protected":false},"featured_media":52668,"template":"","meta":{"_minecraft_slug":"custom-clear-lag","_minecraft_project_id":"CCBcPRgD","_minecraft_author":"DreykaOas","_minecraft_license":"Apache-2.0","_minecraft_downloads":2597,"_minecraft_follows":9,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"custom-clear-lag.zip","_minecraft_size_bytes":10888976,"_minecraft_version_count":13,"_minecraft_updated_at":"2026-05-15T18:29:25.488816Z","_minecraft_date_created":"2024-04-29T01:19:15.584937Z","_minecraft_date_modified":"2025-03-17T19:24:08.965249Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/custom-clear-lag","_minecraft_icon_attachment_id":52668,"_minecraft_imported_at":"2026-06-02T21:48:12+00:00","_minecraft_import_hash":"6869124ebea6ec5fcd5c2c7e9b2c54c5","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[89,126,137,158,90,92,159],"mod_loader":[160],"minecraft_version":[94,37,38],"class_list":["post-52667","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-game-mechanics","mod_category-management","mod_category-mobs","mod_category-neoforge","mod_category-optimization","mod_category-utility","mod_category-worldgen","mod_loader-neoforge","minecraft_version-1-20-4","minecraft_version-1-21-1","minecraft_version-1-21-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom Clear Lag - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Clear Lag - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Optimal Fluidity, Enhanced Experience\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/\",\"name\":\"Custom Clear Lag - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp\",\"datePublished\":\"2026-06-02T21:48:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/custom-clear-lag\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Custom Clear Lag\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Clear Lag - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/","og_locale":"en_US","og_type":"article","og_title":"Custom Clear Lag - Minecraft","og_description":"Optimal Fluidity, Enhanced Experience","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/","name":"Custom Clear Lag - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp","datePublished":"2026-06-02T21:48:11+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/custom-clear-lag-icon-457d24aaed82a961167aebd534c27ad3b796587d_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/custom-clear-lag\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Custom Clear Lag"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/52667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/52668"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=52667"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=52667"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=52667"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=52667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}