• ALERT

    We are currently undergoing a minor database conversion which may have caused the email management system and registration and other minor issues, our team is working on getting our new database system up and running as soon as possible, thank you for your understanding!

    If you have any other questions, feel free to open a ticket on our discord server https://dc.gleaks.pro/

⭐ Daytime ⭐

Plugins ⭐ Daytime ⭐ 1.3.4

Register to download this resource

Original resource URL: https://www.spigotmc.org/resources/%E2%AD%90-daytime-%E2%AD%90.102748/



Native Minecraft Version:1.20Tested Minecraft Versions:
  • 1.16
  • 1.17
  • 1.18
  • 1.19
  • 1.20
Source Code:https://github.com/JEFF-Media-GbR/DaytimeDonation Link:https://paypal.me/mfnalex
[IMG]
Adjust the day and night durations per world, without quirks!
256.png


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

Uploader


Downloads
2
Views
83
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ArteffKods

Back
Top Bottom