Time

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Bram01

Member
Sep 29, 2024
2
0
1
I'm trying to make certain things happen at certain times during the Minecraft day/night. The issue that I'm having is that it keeps skipping some hours.
I used this for testing (using latest version of skript and 1.21.1 mc ):
Code:
at 11:00:
    broadcast "&dtest %time%"

at 01:00 in "world":
    broadcast "&dtest %time%"

Both should work according to the docs; some do, some do not. Specifically 01:00, 08:00, 09:00, 10:00, 14:00, 16:00, 18:00, 20:00, 21:00, and 22:00 keep being broken. The rest work perfectly fine.
Is there a way around this or a way to solve this issue of skipping hours/code?
 
Do you still experience this?
You could try to use nearly the same times like 0:59 or 7:59
I have already tried that. Alto tried times between, for example; 0:59 and 1:01. Still, some set times work and some don't.
 
You could try to make a debug.

Every x:
Broadcast "time"

And watch what it says at the times your having trouble with and the times your not having trouble with :emoji_slight_smile:

Hopefully this gives some insights