Custom Daytime Plugin
Customize Minecraft's day/night cycle and experience smoother nights with this lightweight plugin/mod!
[!IMPORTANT] Since v2.0.0, the configuration file was changed from
config.ymltoconfig.conf. Oldconfig.ymlfiles are not compatible and will not work. The configuration format has also changed, so the old structure/syntax must be migrated manually.
Features
-
Configurable Day & Night Lengths
Set the duration of Minecraft's day and night in minutes via the config. Accepts decimal values for more precise timings (e.g.,0.5for 30 seconds). -
Accelerate Night While Sleeping
Instead of instantly skipping the night, time will smoothly accelerate when enough players sleep. This feature can be disabled in config. -
Easy-to-Use Config
All values are adjustable in theconfig.conffile. All values are configured for each world separately. Custom Daytime supports multiple worlds. Copy the"minecraft:overworld"block, paste it at the end of the config, rename it to the target world key, and edit the values."minecraft:overworld" { # Length of the daytime cycle in minutes # Default: 10.0 dayLength=10.0 # Length of the nighttime cycle in minutes # Default: 10.0 nightLength=10.0 # Enable or disable night acceleration when enough players sleep # False: use vanilla sleep-to-skip-night mechanic # Default: true accelerationEnabled=true # Multiplier for night acceleration during sleep # Example: nightLength=10.0 (= 600 seconds) and AccelerationMultiplier=100.0 -> Acceleration lasts 6 seconds # Default: 100.0 AccelerationMultiplier=100.0 }
License
This project is licensed under the GNU General Public License v3.0. You are free to use, modify, and distribute the project, but any derivative works must also be licensed under the same terms.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
|
R
2.1.2
|
13h ago | 1 | |||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 |
- Fix release pipeline and add CI build workflow by @SeedimV in https://github.com/SeedimV/CustomDaytime/pull/12
- Full Changelog**: https://github.com/SeedimV/CustomDaytime/compare/v2.1.1...v2.1.2
- Fixed a crash on Folia servers caused by use of the deprecated runTaskAsync scheduler.
- Fixed the plugin not writing default config values on first boot, which could result in missing settings.
- Fixed a NullPointerException when a config node was absent. Tthe plugin now falls back to the default value instead of crashing.
- Fixed the plugin failing to handle a missing or unreadable config file gracefully on startup.
- Fixed TimeSkipEvent being processed for worlds that are not configured in config.conf.
- Fixed the night skip check to correctly use ClockTimeSkipEvent.SkipReason, preventing false positives.
- Updated to Paper 26.1.2 (Java 25, new API version format).
- Build tested on Paper 26.1.2 and Folia 26.1.*
- A complete rewrite of Custom Daytime as multi-platform project.
- Changed config file fromat from
config.ymltoconfig.conf. Changed config style. - Added support for multiple worlds.
_Build tested on Paper 1.21.11._
- Added localization for over 40 languages
- Adjusted time handling so the Minecraft day counter no longer resets to 0 when using custom time progression.
- Updated gamerule usage to match the current Paper-preferred API.
_Build tested on Paper 1.21.11 and Purpur 1.21.11._
Thanks for PureLove for contribution!
- Fixed an issue where time fast-forwarding could continue indefinitely if a player left the game while sleeping.
- Fixed an issue where setting
players_sleeping_percentageto0(or lower) caused the fast-forwarding logic to break. - Tested compatibility with Minecraft 1.21.11.
- Added a config option to disable night fast-forwarding due to major related bugs. Currently known issues include phantom spawning and fast-forwarding after a player leaves the server. This serves as a temporary workaround until the bugs are fully resolved. To disable fast-forwarding, please delete the config file, and restart your server to generate an updated one.
- Version 1.1.0 – Changelog**
## 🛠️ Changes & Improvements
- Added support for Folia, ensuring the plugin works smoothly on Folia-based servers.
- Fixed a bug where setting the day or night length longer than 10 minutes would still keep it at 10 minutes.
- Updated compatibility so the plugin now fully respects the
doDaylightCyclegamerule, allowing you to control time with vanilla commands.
- Patch Notes – v1.0.1**
## 🛠️ Changes & Improvements
- Package Refactor: Moved core package from me.seedim → xyz.mayahive for improved namespace organization and maintainability.
- Bug Fix: Corrected the action bar message displayed at the start of night fast‑forward — it now shows the proper text.
- Metrics Update: Refactored bStats integration for cleaner, more efficient metrics reporting.
- Initial release!**
## ✨Features
- Configurable day and night lengths in minutes, including decimal values for precise timing.
- Smooth night fast-forward when enough players sleep, replacing instant night skipping.
- Fully adjustable settings via an easy-to-use config.yml file.
- Works automatically after installation—no commands required.
## 📥 Installation
1. Place the .jar in your server's plugins folder.
2. Start the server to generate the default config.
3. Adjust day/night lengths and fast-forward speed as desired.