Tinyessentials Calendar Command
Commande d'ouverture du calendrier
Поля
| Поле | Тип | По умолчанию | Описание | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
commandName | String | calendar | Nom de la commande, sans le slash. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
permission | String | tinyessentials.calendar | Permission requise pour ouvrir le calendrier. Laisser vide pour n'en exiger aucune. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timeEntry | Ref<MinecraftTimeDefinition> | — | Entree `minecraft_time` dont le calendrier doit etre ouvert.
|
| Поле | Тип | По умолчанию | Описание | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
worlds | List<String> | empty | Worlds that should follow the custom day length | ||||||||||||||||||||||||||||||||
dayLengthMinutes | Double | 20.0 | Length of a full Minecraft day in real minutes | ||||||||||||||||||||||||||||||||
calendarDayLengthMinutes | Double | 0.0 | Duree 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. | ||||||||||||||||||||||||||||||||
calendarArtifact | Ref<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.
|
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
artifactId | String | — | Identifier used for the stored artifact data. Generated once; never change it. |
perPlayerTimeBooleanfalsecalendarCalendarConfigCalendarConfig (5)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
startYear | Int | 1 | Year number at the start of the calendar |
epochDayOffset | Long | 0 | Offset in days applied before the calendar starts |
startingWeekdayIndex | Int | 0 | Index of the starting day within the week list |
weekDays | List<String> | — | Names of the days of the week |
months | List<MonthConfig> | — | Definitions of months inside the calendar |
eventsList<CalendarEvent>emptyCalendarEvent (7)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
title | String | — | Title shown to playersПлейсхолдеры |
description | List<String> | empty | Lore shown in menus and when referenced by placeholdersПлейсхолдеры |
month | String | — | Month where the event happens |
day | Int | 1 | Day of the month for the event |
year | Int? | — | Specific year for the event. Leave empty to repeat every year |
timeOfDay | Int | 0 | Time of day in ticks (0-23999) |
icon | Var<Item> | — | Custom item used inside the calendar menu |
defaultDayItemVar<Item>emptyCalendarLoreList<String>