Calendar

Calendar

Default calendar.yml file:

enabled: true
american-date-format: false
calendar-is-real-life-days: false
sync-time-with-real-world: false
time-sync-offset: 0
time-sync-timezone: 'system'
time:
  format: '$hours$:$minutes$'
  12-hour-clock:
    enabled: false
    add-am-pm: false
week-days:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
synced-worlds:
- none
worlds-without-events:
- none
winter-start: December 4
spring-start: March 4
summer-start: June 4
fall-start: September 4
months:
  January:
    days: 31
    day-length-in-min: 7
    night-length-in-min: 13
  February:
    days: 28
    day-length-in-min: 8
    night-length-in-min: 12
  March:
    days: 31
    day-length-in-min: 9
    night-length-in-min: 11
  April:
    days: 30
    day-length-in-min: 10
    night-length-in-min: 10
  May:
    days: 31
    day-length-in-min: 11
    night-length-in-min: 9
  June:
    days: 30
    day-length-in-min: 12
    night-length-in-min: 8
  July:
    days: 31
    day-length-in-min: 13
    night-length-in-min: 7
  August:
    days: 31
    day-length-in-min: 12
    night-length-in-min: 8
  September:
    days: 30
    day-length-in-min: 11
    night-length-in-min: 9
  October:
    days: 31
    day-length-in-min: 10
    night-length-in-min: 10
  November:
    days: 30
    day-length-in-min: 9
    night-length-in-min: 11
  December:
    days: 31
    day-length-in-min: 8
    night-length-in-min: 12

Months and days of the week

The name of the months can directly be changed in the "months:" list in the calendar.yml. There is no fixed amount of months: you could also configure it to only have 4 months (winter, spring, summer and fall) or anything you want. The same for days of the week, a week does not have to be 7 days. Make sure to also update the names of the months in the seasons start if you change their names.

Synchronizing with real time

Setting sync-time-with-real-world to true will force the calendar system to use your computer's time instead of Minecraft time. This means that the season, date and time will match your actual time. Minecraft days will be 24 hours, it will be daytime when it is actually daytime and night when it is actually night. You can optionally only sync the date and season and not the world time by setting modify-daynight-length in the config.yml to false.

If your server is hosted somewhere else and you want the plugin to use a different timezone, you can change time-sync-timezone to the correct one. It accepted locations (like America/Los_Angeles) or offsets of GMT (GMT+5).

If you want to offset the synced world time slightly you can use time-sync-offset. This option accepts Minecraft time (one day is 24000) and the value you enter gets added on top of the time RealisticSeasons calculated.

Synchronizing time of multiple worlds

If you aren't using sync-time-with-real-world and your server has multiple overworlds with seasons enabled, using synced-worlds is recommended. This makes sure all worlds have exactly the same date, time and season. Perfect for servers with for example a lobby world or a shop world. Simply add the names of the worlds that you want to be synchronized to synced-worlds list.

American date format

The date will be displayed as mm/dd/yyyy instead of dd/mm/yyyy if you set american-date-format to true.

Last updated