/votingmenu add
This command requires administrator permissions.
Add a new voting menu.
Usage
/votingmenu add [title] [options] [key] [team_voting] (order) (button_colors) (show_numbers) (allow_random) (force_random) (number_of_votes)
Arguments
title: (Required) (Ex: Vote for the Region) The title for the vote.options: (Required) (Ex: NA,EU) Comma separated list of options. Ignored if options_variable exists with values.key: (Required) (Ex: Region Name) The key for this vote for displaying the result after.team_voting: (Required) Is the vote once per team, once for all teams, or for a specific team?.order: (Optional) (Ex: 1) The order for this vote in regard to other votes. Votes will occur in ascending order.button_colors: (Optional) (Ex: blurple,red) One per option: blurple, gray, green, red. Options without a color get no button.show_numbers: (Optional) If each option should have a number associated with it when displayed.allow_random: (Optional) If a 'random' option is included in the vote.force_random: (Optional) If you want to skip the vote altogether and just pick a random option.number_of_votes: (Optional) Number of votes per player.
Details
Adds a custom vote that runs in every match of this queue during match setup, after maps and hero bans and just before the winner vote. The result is shown in the match details under the key you choose (with the team name added when a team votes on its own). Menus run in ascending order; if you leave it out the menu goes after the existing ones, and an order number that is already in use is rejected. At least 2 options are required unless options_variable is set. team_voting sets whether the vote runs once for everyone, once per team, or only for one named team. allow_random adds a 🎲 Random button; if Random gets the most votes, a random real option wins. force_random skips the vote and picks a random option. Neither assigns options to individual players: every menu produces one result per vote. repeat runs the vote that many times; menus (or repeats) that share the same options_variable draw from one shared pool, and each winning option is removed from it. With button_colors, give one color per option (plus one for the Random option when allow_random is on): options without a color get no button. Applies to matches that start afterwards.
Required Permissions
This command requires either:
- A configured NeatQueue Staff Role
- Manage Channels permission