From 19a8bcfb5328446ee068f26c50013fb9bad0e918 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 29 Jun 2025 17:47:12 -0500 Subject: [PATCH] Note native auto-pause support (#3520) --- docs/misc/autopause-autostop/autopause.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/misc/autopause-autostop/autopause.md b/docs/misc/autopause-autostop/autopause.md index 84d31272..e4a4951c 100644 --- a/docs/misc/autopause-autostop/autopause.md +++ b/docs/misc/autopause-autostop/autopause.md @@ -1,4 +1,8 @@ # Auto-Pause + +!!! important + + As of [1.21.2](https://minecraft.wiki/w/Java_Edition_1.21.2) it is not recommend to use this feature since Minecraft server natively auto-pauses when the server is empty. That is configured via the enivironment variable `PAUSE_WHEN_EMPTY_SECONDS`, which maps to the `pause-when-empty-seconds` server property. An auto-pause functionality is provided that monitors whether clients are connected to the server. If a client is not connected for a specified time, the Java process is put into a pause state. When a client attempts to connect while the process is paused, then process will be restored to a running state. The experience for the client does not change. This feature can be enabled by setting the environment variable `ENABLE_AUTOPAUSE` to "true".