
Modrinth · Minecraft mod
Pause Day Cycle
Pause the in-game day if nobody's online or when all players are AFK. Fixes local difficulty on small SMP servers.
Quick answer
Which Pause Day Cycle release matches 1.19?
Pause Day Cycle 1.1.1+mod targets 1.18, 1.18.1, 1.18.2 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Pause Day Cycle required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Pause Day Cycle 1.1.1+mod need?
1.1.1+mod on 1.19. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Pause Day Cycle without breaking your instance.
Built for Pause Day Cycle 1.1.1+mod on 1.19. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.1+mod. It targets 1.18, 1.18.1, 1.18.2 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.1+mod. It opens that exact file at the source.
About this project
What does Pause Day Cycle add?
Pause Day Cycle
To enable AFK detection feature, Detect AFK Players must be installed.
When nobody's on a Minecraft server, the in-game time still increases. This means you can't track the number of days played, and the local difficulty will also increase. That's not a concern for servers that have players online almost constantly, but for small/medium sized servers, this is a problem.
This is a very light-weight data pack to prevent game time from increasing when nobody's online or when every player online is tagged as afk, without pausing the server itself so that automatic farms can continue to run.
Why another one of these?
There are already a few mods and data packs that do the same thing as this one, but none of them did quite what I need:
- It integrates with Detect AFK Players, allowing AFK players to also not skyrocket the game time.
- It's easy to integrate with other datapacks so that the pause/unpause doesn't break.
Even with the introduction of the server property pause-when-empty-seconds, the issue of AFK players increasing game time is not solved, and spawn chunks will not be ticked while paused, which you may or may not want.
Details
When nobody is online or all online players are tagged as afk (see Detect AFK Players) the following gamerules will be set to false:
doDaylightCycledoWeatherCycle
doMobSpawning is not changed because it allows automatic farms in spawn chunks or manually loaded chunks to function with nobody present.
Note: If one of the gamerules is already set to false while the time isn't paused, that gamerule will not be changed - this pack respects your options!
Extending it
This datapack provides two function tags: pause_day_cycle:pause and pause_day_cycle:resume. These will be called when the day cycle is paused and resumed. Below is an extremely simple example of an add-on data pack that uses these tags to log to the server when the day cycle is paused.
announce/data/pause_day_cycle/tags/functions/pause.json
{ "values": ["announce:pause"] }
announce/data/announce/functions/pause.mcfunction
say Day cycle has been paused
Project description from Modrinth.
Pick your setup
Pause Day Cycle by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.8
5 loader builds1.21.7
5 loader builds1.21.6
5 loader builds1.21.5
5 loader builds1.21.4
5 loader builds1.21.3
5 loader builds1.21.2
5 loader builds1.21.1
5 loader builds1.21
5 loader builds1.20.6
5 loader builds1.20.5
5 loader builds1.20.4
5 loader buildsShowing the newest 12 of 43 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Pause Day Cycle versions and loaders
1.1.1+mod
pause-day-cycle-1.1.1.jar
30 Mar 2025
1.1.1
pause-day-cycle+1.1.1+mc1.18.x-1.21.0.zip
17 Jun 2024
1.1
pause_day_cycle+v1.1+mc1.13.x-1.20.x.zip
28 Feb 2024
Looking for an older file? The official Modrinth project page is in Resources.
