Skip to main content

Minecraft Time

Customise the length of days and manage a calendar

Fields

FieldTypeDefaultDescription
worldsList<String>emptyWorlds that should follow the custom day length
dayLengthMinutesDouble20.0Length of a full Minecraft day in real minutes
calendarDayLengthMinutesDouble0.0Duree d'une journee DU CALENDRIER, en minutes reelles. 0 = le calendrier suit le cycle jour/nuit ci-dessus. Les deux horloges sont distinctes : le cycle jour/nuit reste court (20 min) tandis que l'almanach peut avancer d'un jour par jour reel. C'est ce qui permet a une annee de jeu de durer un mois reel sans supprimer l'alternance jour/nuit.
calendarArtifactRef<CalendarArtifactDefinition>—Entree `artifact_calendar` ou la date du calendrier est conservee. Sans elle le calendrier repart de sa date de depart a chaque redemarrage : c'est la seule chose qui fasse survivre l'almanach a l'arret du serveur.
CalendarArtifactDefinition (1)
FieldTypeDefaultDescription
artifactIdString—Identifier used for the stored artifact data. Generated once; never change it.
perPlayerTimeBooleanfalseImposer l'heure a chaque joueur plutot qu'au monde. Le monde garde alors son heure propre et chaque client recoit la sienne, ce qui permet de faire vivre une heure differente sans toucher au temps partage.
calendarCalendarConfig—Calendar configuration
CalendarConfig (5)
FieldTypeDefaultDescription
startYearInt1Year number at the start of the calendar
epochDayOffsetLong0Offset in days applied before the calendar starts
startingWeekdayIndexInt0Index of the starting day within the week list
weekDaysList<String>—Names of the days of the week
monthsList<MonthConfig>—Definitions of months inside the calendar
MonthConfig (1)
FieldTypeDefaultDescription
lengthInt30Number of days inside the month
eventsList<CalendarEvent>emptyEvents that should appear in the calendar
CalendarEvent (7)
FieldTypeDefaultDescription
titleString—Title shown to playersPlaceholders
descriptionList<String>emptyLore shown in menus and when referenced by placeholdersPlaceholders
monthString—Month where the event happens
dayInt1Day of the month for the event
yearInt?—Specific year for the event. Leave empty to repeat every year
timeOfDayInt0Time of day in ticks (0-23999)
iconVar<Item>—Custom item used inside the calendar menu
defaultDayItemVar<Item>—Item used for a day that carries no event. The calendar menu's layout lives on its page, not here.
emptyCalendarLoreList<String>—Lore shown when there are no scheduled eventsPlaceholders