Set worlds 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!

Status
Not open for further replies.

Cizke

Member
Nov 19, 2017
2
0
0
Hey boys and girls.
I'm having some trouble with setting the time of the server.
Am i doing something wrong?.. I already checked the docs
Code:
every tick:
    if {season} isn't set:
        set {season} to "winter"
        set {time.season} to 0
        set {day.season} to 0
        set time of the world "world" to {time.season}ticks
 
Don't use every tick start a while loop pls thx!

Code:
set {time.season} to 0 ticks
set time of the world "world" to {time.season}
 
World time's are no timespans, world time are things like 20:39, not an amount of ticks / seconds. So you'll have to use something different
 
Status
Not open for further replies.