跳到主要内容

Vote Message

Vote Message

字段

字段类型默认值描述
definitionRef<VoteDefinitionEntry>—The vote definition to check
notVotedMessageVar<String>—Message to send if the player has NOT yet voted占位符颜色多行
alreadyVotedMessageVar<String>—Message to send if the player HAS already voted (leave empty for no message)占位符颜色多行
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.