Skip to main content
The Vote Definition configures the question, the options, and the deadline for a poll.

Configuration

displayName
String
required
The title/question of the poll (e.g. “Next Map?”).
options
List<String>
required
List of options (up to 10).
  • Index 0 = OPTION_1
  • Index 1 = OPTION_2
data
Ref<Artifact>
required
Reference to the vote_data_artifact storing results.
endDate
String
Optional ISO-8601 timestamp (e.g. 2025-01-01T12:00:00). Voting closes after this time.
closedMessage
String
Message shown to players trying to vote after the deadline.