Vote Message
Vote Message
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
definition | Ref<VoteDefinitionEntry> | — | The vote definition to check |
notVotedMessage | Var<String> | — | Message to send if the player has NOT yet voted占位符颜色多行 |
alreadyVotedMessage | Var<String> | — | Message to send if the player HAS already voted (leave empty for no message)占位符颜色多行 |
TypeWriter 通用字段(criteria, modifiers, triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Sends notVotedMessage if the player has not voted in definition, or alreadyVotedMessage if they have. An empty message sends nothing. Put it at the start of a sequence to remind players who already voted, or to invite the others to vote. Both texts are MiniMessage (<green>You already voted</green>) and their placeholders are resolved before they are shown.