Minecraft Data Packs / Server Utility

ClearLag | Advanced antilag datapack

  • check_circle Functions
  • 56,530 views, 38 today
  • 11,231 downloads, 6 today
  • 94
  • 97
  • 24
TomatoCake's Avatar TomatoCake
Level 65 : High Grandmaster Cake
84
Original, unupdated/dead version: ClearLag Datapack

This datapack is advanced as it uses methods from server software like Spigot and Paper to optimize performance!
You can configure many settings and even enable a small anti-crash for your server, which prevents extreme lagging using armor stands.


Click on the message on reload or use the following command to change the settings:
function clearlag:menu


Works on vanilla, bukkit, spigot, paper, all forks of paper and modded servers.

The methods this datapack uses to reduce lag:
  • Shorter item/experience orb despawn time (important items and items after dying wont get removed)
  • Automatic clears which remove all items in a configurable interval
  • Freezes unused entities
  • Merges experience orbs
  • Removes collision from farm animals

Also, the data pack is really performant so it shouldn't create any lag on its own.

Note: You should always prefer server software such as Paper because it has a lot more customizable options and overall performance that data packs can never reach. You should only use this datapack if you cant use another server software, or you still have a lot performance issues.

Discord: devtomatocake

Some other performance tips
  • Change the server view-distance and simulation-distance to lower values, 7 and 4 is usually enough.
  • Lower the maxEntityCramming gamerule. The data pack could do this too, but it can break many farms and confuse players. Use "/gamerule maxEntityCramming <value>", default value is 24, changing it to 12 often improves performance a lot.
CreditE4ry (original creator)
CompatibilityMinecraft 1.14
toMinecraft 1.20
Tags

12 Update Logs

v2.9.3 : by TomatoCake 03/25/2023 11:11:03 amMar 25th, 2023

- Update for 1.19.4
- Update description + images
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/13/2024 10:29 pm
Level 1 : New Miner
izcalledcompetitive
izcalledcompetitive's Avatar
is there anyway to hide thne messages
1
03/13/2024 11:39 pm
Level 65 : High Grandmaster Cake
TomatoCake
TomatoCake's Avatar
Yes, you can disable messages as can be seen on the fourth image when clicking on "Messages" in the main menu.
1
03/25/2023 3:00 pm
Level 25 : Expert Modder
henry7167
henry7167's Avatar
I feel like 3D shareware (April fools snapshot) was laggy
10/12/2022 7:55 am
This reply was removed by the poster or a moderator.
1
10/12/2022 12:23 pm
Level 65 : High Grandmaster Cake
TomatoCake
TomatoCake's Avatar
Stop using alt accs :)
1
09/06/2022 6:18 am
Level 1 : New Miner
DarkHunterSz
DarkHunterSz's Avatar
can you add the animal collision option in settings so we can toggle it off or on
1
09/06/2022 11:38 pm
Level 65 : High Grandmaster Cake
TomatoCake
TomatoCake's Avatar
Will do.
In the meantime, just comment out the `team join CLnocollision ` command in 3sec.mcfunction (line 35).
Just interested, why do you need it? It heavily can improve performance on some servers/worlds.
07/24/2022 1:05 pm
This reply was removed by the poster or a moderator.
1
07/25/2022 12:31 am
Level 65 : High Grandmaster Cake
TomatoCake
TomatoCake's Avatar
wdym? The main command is "/function clearlag:menu"
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome