I am no longer supporting this datapack - The license has been changed to the MIT License for anyone who wants to use code (of version 2.0.2) without restriction. I imagine that the datapack will keep working for several updates after 1.17
NoLag by supercam19
https://www.github.com/supercam19/NoLag
A datapack for Minecraft 1.17+ to increase performance on your Minecraft server.
This is a datapack made by supercam19 to improve server performance. This datapack is different from most other clearlag datapacks because it will not cause any tick lag. If you disable the features in the config, it will not run any commands on its own.
This datapack also has a configuration file, located in NoLag/data/nolag_config/functions/config.mcfunction
--Getting to your datapack folder--
Go to the latest release for NoLag, and download the NoLag.zip attached to the release.
-
Open Minecraft
-
Select the world you want to put the datapack on
-
Click edit > Open World Folder
-
Open the "datapacks" folder
To install the datapack, extract the NoLag.zip and place it in your datapacks folder.
To know if its installed correctly, you file path should be /.minecraft/saves/{worldName}/datapacks/NoLag.
Inside this folder you should find a file called "pack.mcmeta" thats how you know it is installed properly.
If there is no "pack.mcmeta" in that folder, it is not installed correctly.
To configure the datapack, go to you datapacks folder for the world. Then go NoLag/data/nolag_config/functions/config.mcfunction.
If you want to also change the what happens when you run function nolag:cmd/clearlag, function nolag:cmd/killmobs or function nolag:cmd/clearprojectiles, go to NoLag/data/nolag_config/tags/entity_types/ and edit the .json file you wish.
In game, run "/function nl:help" to see all in game commands. Other than that, it will mostly run automatically.
Bug reports and suggestions can be made on Github, under the "issues" tab.
To update the pack, delete the old one and follow the installation instructions above. The datapack will load the next time you start the server. Make sure to check the configuration file!
To uninstall, go in game and run the command "/function nl:uninstall". Follow the chat instructions. Make sure you delete the "NoLag" folder from your datapacks folder before restarting your server!