Vote Message
Vote Message
Fields
| Field | Type | Default | Description |
|---|---|---|---|
definition | Ref<VoteDefinitionEntry> | — | The vote definition to check |
notVotedMessage | Var<String> | — | Message to send if the player has NOT yet votedPlaceholdersColorsMulti-line |
alreadyVotedMessage | Var<String> | — | Message to send if the player HAS already voted (leave empty for no message)PlaceholdersColorsMulti-line |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
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.