Knowledgebase

Reducing Lag

two minecraft players exploring the forest

Reducing Lag

11 Articles
Guides for optimizing your Minecraft server to reduce performance issues and lag.

How to Optimize your Paper Configuration to Reduce Lag

One of the main strengths of running a Paper server over a Vanilla one is the sheer amount of customisability offered from the Paper configuration files. As a Paper server owner, this gives you the ability to seriously fine-tune your server performance, usually by cutting corners off of bloated gameplay features. ::ProseNote{title="Please Note" description="The configuration options discussed in this guide only apply to servers using the Paper Minecraft server type or a PaperMC fork, like Purpur." appearance="danger"} :: Paper Options and their Optimizations Below is a list of configuration options that can be found in the configuration file. These options will be applied to each world individually when they are first generated on Paper. If a world already has a settings file generated, changing the defaults file will not affect it. You can locate this config file at | Option | Description | Default | Optimized / Recommended | |------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|--------------------------| | max-auto-save-chunks-per-tick | Slows down how often chunks are saved during world save. Don’t go below 8 to avoid data loss. | 24 | 8 | | optimize-explosions | Uses Paper’s efficient explosion handling. Less important after 1.15, but still beneficial. | false | true | | tick-rates: mob-spawner | Increases time between mob spawner ticks. Only increase if experiencing lag. | 1 | 2 | | tick-rates: container-update | Controls how often container GUIs (like chests) update. Higher values reduce server load, but avoid going above 3–4. | 1 | 3 | | max-entity-collisions | Limits how many entities can collide at once. Helps with performance in crammed mob areas. | 8 | 2 | | tick-rates: grass-spread | Increases time between grass spreading ticks to reduce load. | 1 | 4 | | non-player-arrow-despawn-rate | Time in ticks before non-player arrows despawn. Useful to reduce entity lag. | default | 60 | | creative-arrow-despawn-rate | Same as above, but for arrows shot in creative mode. | default | 60 | | hopper.disable-move-event | Prevents hoppers from checking every slot each tick. Improves performance significantly. | false | true | | prevent-moving-into-unloaded-chunks| Stops players from entering unloaded chunks, preventing potential lag spikes. | false | true | | entities: armor-stands: tick | Disables ticking for armour stands (only needed for water interaction). Frees up performance. | true | false | | per-player-mob-spawns | Uses per-player mob spawns to balance mob farms and prevent griefing of server-wide spawns. | false | true | | anti-xray | Paper's built-in anti-xray system. More efficient than plugins. | false | true | While running a Paper Minecraft server, you will also have access to some additional configuration files, which can also be optimized. Feel free to refer to the following guides for more resources on how to further optimize your Paper Minecraft server: How to Optimize your Bukkit Configuration to Reduce Lag How to Optimize your Spigot Configuration to Reduce Lag Minecraft Server Optimization Guide (By: YouHaveTrouble)

Kobe Plane
September 11, 2024

How to Install and Configure ClearLag on a Minecraft Server

If you are experiencing lag on your server, there are a number of different optimizations that you can make to improve performance. One of these is to install and configure a plugin called ClearLag. ClearLag is a Spigot/Bukkit plugin that is designed to prevent lag on your server by implementing a number of highly configurable optimizations, including an entity limiter, floor item purger, and mob spawner controls. --- Installing ClearLag As ClearLag is a Spigot/Bukkit plugin, your server must be using a plugin-compatible server type like Paper to install ClearLag. Once you verify your server can use plugins, you can upload the ClearLag plugin to your plugins folder, then reboot your server to install it. 1. Download your desired version of ClearLag. Navigate to the ClearLagg Spigot Page and download the latest version. You can also click the Version History tab to view a list of all available versions for the plugin. 2. Access your server's Control Panel and navigate to the Files tab. 3. Select the folder to open it. 4. Upload the downloaded ClearLag jar file. 5. Start or Restart your server if it is already running. --- Configuring ClearLag on a Server After your server finishes starting, ClearLag should be running without issue, and should make a noticeable difference with very minimal configuration. For most users, it's fine to leave the settings as their defaults. However, ClearLag is extremely configurable, and you can adjust almost every setting to your liking. You can follow the steps listed below to access your ClearLag configuration file. For more details on each configuration option and how to change them, please refer to the official configuration wiki on Bukkit. 1. Access your server's Control Panel and navigate to the Files tab. 2. Select the folder to open it. 3. Click the folder. 4. Click the file to edit it. 5. After making your desired changes, click Save and Restart your server. That's it! You now know how to install and configure ClearLag on your server.

Kobe Plane
September 11, 2024
Word lid van Discord