Skip to content
Game panel

Optimize your Minecraft server performance

MinecraftIntermediatePaper · Purpur

Lag has a few usual causes: too many chunks loaded per player, heavy plugins or mods, and new terrain generating while people explore. These settings fix most of it, in order of impact.

What you'll do
  1. Run Purpur or Paper
  2. Lower view and simulation distance
  3. Remove what you do not need
  4. Pre-generate your world
SoftwareBest forNotes
PurpurSurvival, minigamesFastest, full plugin support. Our recommendation.
PaperGeneral useStable, more optimized than Spigot.
Forge / Fabric / NeoForgeModded onlyHeavier; use only for modpacks.

Switch under Versions, see Changing your Minecraft server version.

This is the single biggest win. Edit server.properties in the file manager:

server.properties
view-distance=6
simulation-distance=4

Fewer chunks are loaded and ticked per player. Players still see far enough for normal play; raise to 8 if your server has few players and spare CPU.

You don’t need to tune JVM flags or launch arguments. OXY sets them per plan size, with garbage-collection settings tuned for stable memory use on busy and modded servers.

4. Remove plugins and mods you don’t need

Section titled “4. Remove plugins and mods you don’t need”

Every plugin or mod costs CPU and RAM. Go through Installed Plugins and remove what you don’t use.

Paper and Purpur read config/paper-world-defaults.yml. These three settings cut work per tick without visible changes:

config/paper-world-defaults.yml
anticheat:
anti-xray:
enabled: true
entities:
armor-stands:
tick: false
environment:
optimize-explosions: true

In spigot.yml, spawn fewer mobs per tick:

spigot.yml
world-settings:
default:
ticks-per:
animal-spawns: 400
monster-spawns: 1
water-ambient-spawns: 1

Restart after saving. Mob-heavy worlds and large player counts benefit the most.

Generating new chunks while players explore is the most common lag spike. Generate them up front with Chunky:

  1. Install Chunky via Content → Plugins and restart, see Install plugins.
  2. In the console, run:
Terminal window
chunky radius 250
chunky shape square
chunky start

This generates a 500 by 500 block square around spawn. Run it while the server is empty, pause backups, and keep an eye on CPU in the panel. On Forge or Fabric use the Chunk-Pregenerator mod and its /pregen commands.

Still lagging? Spark shows TPS, CPU per tick and the slowest tasks. Follow the Spark lag diagnosis walkthrough to record the problem, read the report and test a fix. If you need help, send us the report link.