Daytime lets you set a custom duration for days and nights for every world. Unlike similar plugins, this one doesn't come with any weird quirks:
- Guaranteed 100% lag free! Daytime scales the time without any unecessary loops on the main thread.
- Doesn't call the TimeSkipEvent thousands of time per ingame day
- Doesn't mess up the world's total "game time" (/time query gametime)
- Easily set the time in minutes (or fractions of minutes) per world. No need to manually convert the desired duration into ticks
- Respects the doDaylightCycle gamerule
When I came up with this idea, I found plugins that try to achieve similar goals, however they are doing horrible things - the most popular similar plugin for example uses a blocking loop on the main thread to scale the time. This also resulted in one packet being sent per player and per skipped tick. If you for example set the night duration to 1 minute, this resulted in 200 packets being sent per second per player! It also resulted in the TimeSkipEvent being called 20 times per second. This is definitely not something you want to happen.
Daytime doesn't have these problems, it simply works flawlessly, without any performance impact or uneccessary events being called.
Commands & Permissions
/daytime
Reloads the configuration file.
Permission: daytime.admin