Sample config

# 
# you can set several time distortions for each world
# begin and end are the begin and end times of the distortion, between 0 and 24000 ticks
# 0 is just after sunrise (same as 24000)
# 6000 is noon
# 12000 is just before sunset
# 18000 is midnight
#
# multiplicator sets the speed of the passing time :
# 2.0 means the time runs twice as fast as usual, 0.5 half as fast.
#
# example below :

#distortions:
#  example_world_name:
#    morning_is_five_times_faster:
#      begin: 0
#      end: 6000
#      multiplicator: 5.0

distortions:
  world:
    day:
      begin: 0
      end: 12000
      multiplicator: 1.0
    sunset:
      begin: 12000
      end: 14000
      multiplicator: 1.0
    night:
      begin: 14000
      end: 22000
      multiplicator: 1.0
    sunrise:
      begin: 22000
      end: 24000
      multiplicator: 1.0

# setting this value low will result in a smoother sun movement,
# but may cause low network performance on the server side
# because of frequent time updates sent to clients.
# i recommend setting it between 5 and 20 ticks for most cases
# (1 second = 20 ticks) 
ticks_between_updates: 10

# you should let this to 0
# debug level 1 will display warnings (currently none)
# debug level 2 will display a verbose debug info on time distortion maths
debug_level: 0

Comments

Posts Quoted:
Reply
Clear All Quotes