Configuration

Config

Here are some instructions to hopefully clear up any confusion this config creates. Feel free to copy and past the commented version into your actual config.yml to help you out.

General:
# In what world do you want this plugin to track time?
  world: world
# When will a new day officially start?
  day_start: 0
# Do you want to broadcast the day in chat?
  broadcast_day: true
# Do you want to broadcast the day through a title system? Be sure to enable this only for # days and not holidays, to avoid conflicts.
  broadcast_day_title: false
# The formats for how the date will be displyed in chat/title.
#  %weekday is the day of the week, as outlined in the config.
#  %day is the day number with the appropriate suffix(1st, 2nd, 3rd, 4th, etc)
#  %month is the month, as outlined in the config
#  %year is the amount of years passed.
#  %totaldays is strictly the amount of days passed
# color codes are accepted in these formats(http://ess.khhq.net/mc/)
  date_format: '&a%weekday&r, the %day of %month, %year'
# titles and subtitles are divided by a ‘:’, so the format would be [title]:[subtitle]
  title_format: '&7Day:%totaldays '
Time:
# How many days are in a week?
  days_in_week: 7
# How many days are in a month?
  days_in_month: 30
# How many months are in a year?
  months_in_year: 12
Names:
# What are the names of your weekdays? WARNING: The amount of entries here must match the numbers given in the “time section”
  day_names:
  - Monday
  - Tuesday
  - Wednesday
  - Thursday
  - Friday
  - Saturday
  - Sunday
#What are the names of your months? The same warning as day names applies here.
  month_names:
  - January
  - February
  - March
  - April
  - May
  - June
  - July
  - August
  - September
  - October
  - November
  - December
Holidays:
# Do you want holidays?
  enabled: true
# Do you want holidays to be broadcast in chat?
  broadcast_holiday: true
# Do you want holidays to be broadcast through title? Remember, enabling this with broadcasting the day will cause strange conflicts.
  broadcast_with_title: true
# Here are the holiday codes. Holidays can be defined in the following ways. They must at least include a day.
  holidays:
# [NAME OF THE HOLIDAY]-[MESSAGE TO BROADCAST]-(DAY OF OCCURANCE)
# This type of holiday will occur once every month.
  - Pay Day-Congratulations! You have been paid-20
# [NAME OF THE HOLIDAY]-[MESSAGE TO BE BROADCAST]-(DAY OF OCCURANCE)
# In this example the day of occurance is higher than the number of days in a month.
# This type of holiday will occur once, when the number of total days equals the end of the code.
  - level2-&aWELCOME TO LEVEL 2-100
# [NAME OF HOLIDAY]-[MESSAGE TO BE BROADCAST]-(DAY OF OCCURANCE)-(MONTH OF OCCURANCE)
# This holiday will occur on the day and month specified, or once a year.
  - Christmas-Merry Christmas!-25-12
# [NAME OF HOLIDAY]-[MESSAGE TO BE BROADCAST]-(DAY OF OCCURANCE)-(MONTH OF OCCURANCE)-(YEAR OF OCCURANCE)
# This holiday will occur on the day, month and year specified so only once. 
  - newEra-A new era is upon us. . .1-1-300

# This is internal storage for the date. If you modify this information, errors may occur.
DO NOT ALTER:
  current_day_of_week: 0
  current_day: 0
  current_month: 0
  current_year: 0
  total_days: 0

Comments

Posts Quoted:
Reply
Clear All Quotes