Перейти к содержимому
Mineforgian

Custom Daytime

Control Minecraft’s day and night lengths and fast-forward the night smoothly while players sleep for a more immersive experience.

Загрузки
3K
Подписчики
14
Обновлён
8 мая 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 13 августа 2025 г.

Custom Daytime Plugin

Download on Modrinth Latest Release License: GPL v3

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.yml to config.conf. Old config.yml files 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.5 for 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 the config.conf file. 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.

Ченджлог

2.1.2Релиз26.1, 26.1.1, 26.1.2 · 8 мая 2026 г.

What's Changed

Full Changelog: https://github.com/SeedimV/CustomDaytime/compare/v2.1.1...v2.1.2

2.1.0Релиз26.1, 26.1.1, 26.1.2 · 7 мая 2026 г.

Changes

  • 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.

2.0.0Релиз1.21.11 · 2 марта 2026 г.

Changes

  • A complete rewrite of Custom Daytime as multi-platform project.
  • Changed config file fromat from config.yml to config.conf. Changed config style.
  • Added support for multiple worlds.

Build tested on Paper 1.21.11.

1.2.0Релиз1.21.11 · 12 февраля 2026 г.

🛠️ Changes

  • 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!

1.1.2Релиз1.21.9, 1.21.10, 1.21.11 · 15 декабря 2025 г.

🛠️ Changes

  • 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_percentage to 0 (or lower) caused the fast-forwarding logic to break.
  • Tested compatibility with Minecraft 1.21.11.
1.1.1Релиз1.21.6, 1.21.7, 1.21.8 · 1 сентября 2025 г.

🛠️ Changes

  • 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.
1.1.0Релиз1.21.6, 1.21.7, 1.21.8 · 17 августа 2025 г.

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 doDaylightCycle gamerule, allowing you to control time with vanilla commands.

1.0.1Релиз1.21.6, 1.21.7, 1.21.8 · 16 августа 2025 г.

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.

Комментарии

Загружаем…