Pause an Empty Minecraft Server: Check the Limits
With pause-when-empty-seconds, a Minecraft Java server pauses after nobody has been online for a set period. This is not an automatic performance guarantee and can stop farms or other time-dependent activity.
With pause-when-empty-seconds, a Minecraft Java server pauses after nobody has been online for a set period. This is not an automatic performance guarantee and can stop farms or other time-dependent activity. First check the actual server version and whether the world should keep running while nobody is playing.
Vanilla and Paper Have Different Defaults
Mojang introduced pause-when-empty-seconds in Minecraft Java Edition 1.21.2. The release notes give a Vanilla default of 60 seconds: a positive value pauses the server after that time with no players online. Versions before 1.21.2 do not necessarily have this documented setting; check the version the server actually starts, not just the version in your launcher. Mojang: Java Edition 1.21.2
For Vanilla Minecraft Java Edition 26.3, the original Mojang server code confirms the default value of 60 and the effect of positive values. The inspected code path treats a value of 0 or less as disabled. This is a static inspection of that exact server artifact, not a test on your server. Mojang: original Minecraft Java Edition 26.3 server artifact
Paper differs by default: the current Paper reference for server.properties lists pause-when-empty-seconds=-1 and explains that the feature is disabled by default because plugins may expect or perform work when no players are online. The Paper page “Vanilla-like experience” lists the value 60 for Vanilla-like behavior. Do not treat that value as the Paper default. PaperMC: server.properties · PaperMC: Vanilla-like experience
Paper also lists in paper-world-defaults.yml the separate, unsupported setting disable-world-ticking-when-empty: true. According to Paper, it stops world ticks when there are neither players nor force-loaded chunks. This is a different setting from the Vanilla server pause; Paper warns that unsupported values can be removed at any time. Do not confuse the two or change either one without checking the plugin and world effects. PaperMC: Vanilla-like experience
What Stops During the Pause
In the Vanilla Minecraft Java Edition 26.3 code, the server counts empty ticks up to the configured value. When it reaches the threshold, it saves automatically, continues calling tickConnection(), and returns before the normal world tick sequence. The inspected code path does not terminate the server process; the network tick continues. This establishes a pause in regular server ticks, but not identical join or connection behavior in every fork, with every plugin, or in every hosting environment.
World activity that needs server ticks does not advance during the pause, such as redstone, mob behavior, a farm, or a datapack function waiting on game time. External tasks outside the Minecraft server are not controlled by this setting. Plugin compatibility is a particular reason Paper disables the feature by default. A specific reduction in CPU load is not guaranteed; the actual effect depends on the world, software, and extensions.
If even one idle player remains online, the server still counts as occupied. player-idle-timeout handles kicking idle players; it does not pause the world. The guide to the Minecraft AFK timeout explains the differences and units.
Change the Setting Carefully
- Check the platform and version. Read the startup log or server management panel and note whether the server runs Vanilla or Paper and which Java game version it uses. On Paper, also check whether plugins or worlds expect tasks to run while idle.
- Back up the current state. Open the
server.propertiesfile for the correct server instance and copy it to a private location. The general guide to editing server.properties explains the file format, clean stop, and restart. Do not change a world folder to test this setting. - Choose one value. A positive value is a wait time in seconds; for example,
pause-when-empty-seconds=180means three minutes. In Vanilla Minecraft Java Edition 26.3,0disables the pause. In Paper,-1is the documented default for “disabled”; use the value from the version actually running. Change the existing line and do not add a second line with the same name. - Stop and start cleanly. Announce the short maintenance period, stop the server using its regular function, and edit the file only after it has stopped. Then start it using the same intended method. Check the current startup log to confirm that the expected software loaded and the process is ready.
- Check on a separate test copy. There, let a harmless tick-dependent action run with nobody online for at least the selected period. Then check whether it waits as expected and continues after someone rejoins. In Vanilla Minecraft Java Edition 26.3, the inspected code logs the pause; other versions may report it differently. Do not test an important production farm for the first time on the only live world.
If nothing happens, first check that the setting belongs to the instance actually started, that the version is at least 1.21.2, and whether a Paper configuration also stops world ticks. In the inspected Vanilla Minecraft Java 26.3 build, 0 disables the pause. For other versions, check their documentation and examine Paper settings and plugins separately. For targeted measurement of lag, see the Minecraft server lag guide; it also does not promise a general performance gain. The guide to datapack functions and command load covers datapack activity.
Technical Sources
- Mojang: Minecraft Java Edition 1.21.2 – introduction and Vanilla default.
- PaperMC: server.properties – documented Paper default and plugin compatibility.
- PaperMC: Vanilla-like experience – Vanilla-like value and separate unsupported world-tick setting.
- Mojang: original Minecraft Java Edition 26.3 server artifact – static inspection of Vanilla code for the setting, autosave, continued
tickConnection(), and skipped regular world ticks.
Did this guide help? We are happy to help personally.