Перейти к основному содержимому

Vote Definition

The Vote Definition configures the question, the options, and the deadline for a poll.

Configuration

displayNameString

The title/question of the poll (e.g. "Next Map?").

options

" required> List of options (up to 10).

  • Index 0 = OPTION_1
  • Index 1 = OPTION_2
  • ...

data

" required> Reference to the vote_data_artifact storing results.

endDateString

Optional ISO-8601 timestamp (e.g. 2025-01-01T12:00:00). Voting closes after this time.

closedMessageString

Message shown to players trying to vote after the deadline.