Offline Pause stops your Minecraft world's time and ticks when a player leaves
After the last player leaves, the plugin waits for a configurable amount of time (by default 60 seconds) and then freezes the server's game ticks. World time, mobs, redstone, furnaces, crops, weather and other tick-based mechanics stop progressing until somebody comes back.
The server stays online, so players can still connect normally. Offline Pause also unfreezes the world as soon as someone tries to join (with no additional delays)
/tick freeze started manually or by another pluginfreeze-delay-seconds: 60
By default, the server freezes one minute after the last player leaves.
Paper 1.20.4–26.3
Offline Pause uses Paper's tick manager rather than trying to simulate a pause by changing gamerules or individually disabling game mechanics.