CraftBook Extra Wiki
Advertisement
MCZ027
File:ZISO.png
IC Title BETWEEN TIME
Type ZISO
Inputs 0
Outputs 1
Restricted No
Added CBX v13.2


Detects if the server/day time is between the two times placed on lines 3 and 4 of the sign

  • If only 1 time is set, then it will detect if the current server time is past the set time.




This is automatically updated. For a version that requires manual updating see [MCX027]



Sign Settings[]

Quick Reference[]

line 1 <blank>
line 2 [MCZ027]
line 3 start_time
line 4 end_time
green text = OPTIONAL
everything else = REQUIRED


Details[]

  • Line 3:
    start_time is the starting time that the world/server time must be greater than or equal to for the IC output to turn on.


  • Line 4:
    end_time is the optional ending time that will turn the IC output back off if the world/server time is outside of the start_time/end_time range.
    • If left blank, this value will be set to 24000


  • NOTE
    • Both start_time and end_time can use wild characters: *
      • This allows settings such as approximately "every 2 hours" (in game time).

Inputs[]

File:IC input.png

zero input

none


Outputs[]

File:IC output1.png

1 output

D / 1: Between
Toggles on when the time is between the set start and end times.


Optional Modes[]

none

Examples[]

Between World Time 2000 and 3000[]

Basic sign setup to check if the World time is between 2000 and 3000.

1
2 [MCZ027]
3 2000
4 3000


Every 1 World Time Hour (1000)[]

Using wild characters (*) to check if the World Time is at the start of a new hour (world time hour).
Ex: between 00000 and 00099, 01000 and 01099, 02000 and 02099, 03000 and 03099, etc

1
2 [MCZ027]
3 **000
4 **099


Night Time[]

Checks if the World Time is after 12000, which is typically night time.

1
2 [MCZ027]
3 12000
4



Gallery[]

Bugs[]

See Also[]

Advertisement