Lethium

Config Optimizer

Minecraft Server Optimization: Config Optimizer

Paste your server configs. See which settings cost performance, what to set instead, and what your players will notice. Then download the fixed files.

Tools / Config Optimizer

Your server

Server type
Do farms and redstone matter to your players?
Preset

Safe only changes what players do not notice. Max performance also changes gameplay and says what players and farms will notice.

Your config files

Every file is optional. Open several at once and they are sorted by name and content.

The files are read on your device and are not sent anywhere. Remove the RCON password and the Velocity secret before you share them with anybody.

What to change

Fixed files

Stop the server, keep a backup of the old files, copy the new ones in, then start it again. Only the lines with a change are touched; your comments and the rest of the file stay as they were. Then measure with spark and compare.

How to optimize a Minecraft server with this tool

  1. Answer the questions under Your server. The server type, player count, RAM and whether farms matter change what the tool suggests.
  2. Paste your files, drop them on the box, or press Open files and pick several at once. You do not need all of them. Try it with Paper's defaults fills every box with a sample made from the documented default values.
  3. Read What to change. Each setting shows the current value, the suggested one, how much it matters, what players will notice, and a link to the official documentation. Settings that are already fine are listed at the end.
  4. Untick anything you do not want. Undo and Redo work on these ticks. Switch between Safe (no gameplay changes) and Max performance to compare.
  5. Download the fixed files one by one or all at once as a zip with a CHANGES.txt that lists every change and why.

Before and after you change anything, run a profile with spark and paste it into our Spark Profiler Analyzer. Settings help most where the profile shows the time goes. If the problem is memory or garbage collection, look at the start script with our Startup Flags generator.

Paper optimization config: which file does what

FileWhereWhat it controls
server.propertiesserver folderView and simulation distance, network compression, entity broadcast range.
bukkit.ymlserver folderNatural spawn limits and how often each mob group tries to spawn.
spigot.ymlserver folderEntity activation and tracking ranges, item and XP merging, hopper timing, mob spawn range.
paper-global.ymlconfig/Settings for the whole server: chunk sending and loading rates, threads, packet limits.
paper-world-defaults.ymlconfig/Defaults for every world: chunks, despawn ranges, redstone, hoppers, tick rates, collisions.
paper-world.ymleach world folderOverrides for one world. Only put the keys there that should differ.
purpur.ymlserver folderOnly on Purpur. A few extra performance switches.

Paper moved its settings out of the single paper.yml into the config folder with version 1.19. In current Paper (26.x) worlds live under world/dimensions/<namespace>/<key>/, so the nether's override file is world/dimensions/minecraft/the_nether/paper-world.yml. On 1.19 to 1.21.x it sits in each world folder, for example world_nether/paper-world.yml. A value in paper-world.yml wins over paper-world-defaults.yml for that one world; paste such a file in the paper-world.yml tab to check it.

Some files override others. A number for view-distance in spigot.yml wins over server.properties, and spawn limits in paper-world-defaults.yml win over bukkit.yml unless they are -1. The tool points this out when it sees both files.

Simulation distance vs view distance

View distance is how far the world is sent to players. Simulation distance is how far the world actually runs: mobs move, crops grow, redstone and furnaces work. Chunks between the two are visible but frozen. Running chunks cost far more than chunks that are only sent, so most servers keep the simulation distance a few chunks below the view distance.

Both count chunks in each direction, so the area grows with the square: a view distance of 10 is 441 chunks per player, 7 is 225. Paper accepts 3 to 32 for both. Players whose own render distance is lower get fewer chunks anyway.

Entity activation range and tracking range

The entity activation range in spigot.yml decides how close a player must be before a mob runs its full AI every tick. Further away, mobs only wake up now and then. Lower values save a lot on servers with many animals and villagers, but farms that need mobs to walk work slower when nobody stands near them. A value of 0 or less turns the throttling off completely for that group.

The entity tracking range decides how far away entities are sent to players. It saves bandwidth and some CPU. Keep it above the activation range, or mobs appear next to players out of nowhere.

Safe or max performance?

Safe only changes settings that players do not notice in normal play: Paper's own better options, saving and chunk-unload timing, explosion and arrow clean-up. View and simulation distance stay at the vanilla 10; only a small machine (4 GB or less) or a big crowd (80 players or more) gets one step down to 8. Everything that changes gameplay (mob spawns and AI, item merging and despawning, hoppers, redstone, villagers, spawners) is left alone in Safe and listed with the value Max performance would use.

Max performance goes further for busy or small servers and lists every gameplay cost. If you answered that farms and redstone matter, it goes easier on farms and marks every setting that changes farm output. Start with Safe, measure, and only then go further where the profile points.

The tool never suggests a value outside the range the Paper documentation allows. When your value is already fine, it says so instead of nudging it.

Old paper.yml and other old keys

Paste an old single paper.yml and the tool lists where each performance setting lives now. Paper converts the file by itself on the first start of 1.19 or newer and keeps the original as config/legacy-backup/paper.yml.old. The tool also flags keys that only exist in some Paper versions, keys in the wrong file, misspelled keys with a "did you mean", values of the wrong type, and settings such as max-tick-time that old guides recommend but Paper ignores.

Where the values come from

Every key, default value and allowed range was checked against the Paper documentation, the Paper source code for 1.21.4 to 26.3, and for purpur.yml the Purpur documentation. Each suggestion links to its entry. The suggested numbers are our own starting points, not official values. The community guide minecraft-optimization by YouHaveTrouble was a useful reference for which settings matter; our numbers and texts are our own.

Questions

Which Paper versions does this work with?

The settings were checked against the Paper documentation and Paper's source code for 1.21.4 up to 26.3. Paper has used the config/paper-global.yml and config/paper-world-defaults.yml layout since 1.19, and most keys have stayed the same. Pick your version and the tool marks settings that your version does not have.

What is a good view distance for a Minecraft server?

There is no single best value. For a survival server with a few dozen players, a view distance of 7 to 8 with a simulation distance of 5 to 6 is a common balance. Go lower on small machines or with many players, and keep the simulation distance at or below the view distance.

Will these settings break my farms?

Not with the Safe preset: it leaves every setting that changes gameplay or farm output alone and keeps the simulation distance at the vanilla 10 (8 only on small machines or for big crowds). Max performance can slow farms down; every such setting is marked, and answering Yes to the farms question makes it go easier on them.

Is my config uploaded anywhere?

No. Everything runs in your browser and nothing is sent anywhere. The share link holds your answers, and the files only when they are small. Remove passwords such as the RCON password or the Velocity secret before you share a link.

I still have an old paper.yml. What now?

Paper 1.19 and newer convert it on the first start. The settings move to config/paper-global.yml, config/paper-world-defaults.yml and a paper-world.yml for each world, and the old file is kept as config/legacy-backup/paper.yml.old. Paste the old file here to see where each performance setting went.

Why does the tool not change Anti-Xray or the hopper move event?

Those are decisions about cheating and plugin compatibility, not only about speed. The tool shows what they cost and leaves the choice to you.