deprecated/Configuration

Configuration

Basics:

This plugin will require a yml-File inside the plugin-folder.
Name of the file: RealTimeRotation.yml

The file will be created on the first init of the plugin though.
Anyway you will need to apply changes to the file, if you are not positioned in Berlin, Germany.

Content if the plugin creates the file (excluding comments):
timerotation:
  timemodifier: 1
  userealtimerotation: true
  tickspercalc: true
  statics:
    sunrise: "06:00:00"
    sunrise: "21:00:00"
realtimesettings:
  latitude: 52.5166667
  longitude: 13.4
  timeoffset: +2
timeadjustment:
  playertoserver: 0

Description:

version  Option  Description  Example
v0.1.0 timerotation.
timemodifier
Indirectly describes the duration of a day.
Describes how many time will be passed on the server when a full 24h-day is passed.
1 will turn into a full 24h-day
24 will turn into a 1h-day
60 will turn into a 24m-day
The higher this value is, the faster the days will pass.
v0.1.0 timerotation.
userealtimerotation
Set to true if you want to use real sunset and sunrise (recalculated to the duration of the time/day on the server).
Else set to false.
accepts true and false
v0.2.33 timerotation.
tickspercalc
Set the tick ticks to be passed till calculating the time.
To prevent artifacts the ticks will set the time, but will not use the "massive" calculation, but the recent calculations result.
The higher the timemodifier is, the lower this value should be.
accepts integer for example 20 will cause the plugin to calculate the time only every second.
v0.1.36 timerotation.
statics.
sunset/sunrise
Set the time the sunrise and sunset will be. (will only be use if you set timerotation.userealtimerotation to false). Remember the quotation-marks!
Format is: "HH:MM:SS"
"20:59:43"
v0.1.0 realtimesettings.
latitude/longitude
Set the latitude/longitude of the location you want to emulate the sunset- and sunrise-time from. lat: 52.5166667, lon: 13.4 for Berlin
v0.1.0 realtimesettings.
timeoffset
The time-zone-offset at this region. [GMT] +2 for Berlin (gmt+2)
v0.2.23 timeadjustment.
playertoserver
Ajdust the time by simply adding or subtracting one or two hours.
This will have no effect if timerotation.timemodifier is set to 24 (1h per day)
1 for adding one hour -1 for subtracting one

Additional informations to the timemodifier:


Just calculate the seconds you want the a day to be.
If you want a 30 seconds day calculate the following:
( 24 * 60 * 60 ) / 30 => 2880
And set the result as the modifier.

You may not use float as modifier since this will cause an artifact on midnight (day might be in the middle, and switch over to the start of the day).code

Comments

Posts Quoted:
Reply
Clear All Quotes