Admin/System Voting

A new function of V1.1.0 is to allow administrators to start votes of different types and also allows the plugin to automatically start end of map votes.
These are referred to as system generated votes.

Admins with the correct rights can start the following types of vote via the menu system or via the console: -

Vote Map (Specify single map, multiple maps and when the chosen map will be loaded)
Vote Random Map (specify the number of maps and when the chosen map will be loaded)
Vote Question (Allows custom questions to be posed to users)
Vote RCON (Allows an RCON command to be voted for)
Vote Extend (Allows users to extend a map)
Vote Cancel (Allows an admin to cancel the vote they started)

If an admin has the ‘accept vote’ flag ‘A’ set they will be prompted if they wish to accept the vote.

There are a numerous number of cvars associated with the voting system: -

mani_vote_dont_show_last_maps 3   // Defines the last number of maps played to not show in random votemap lists
mani_vote_extend_time 20          // Defines the time in minutes a extend vote will add to the timeleft counter
mani_vote_allow_extend 1          // Defines the whether the a map can be extended
mani_vote_allowed_voting_time 45 // Defines amount of time in seconds a vote will be allowed for
mani_vote_allow_end_of_map_vote 0     // Defines whether a random map vote will be displayed towards the end of the map
mani_vote_max_extends 2 // Number of extensions a map is allowed via user vote or random map vote, 0 = infinite
mani_vote_extend_rounds 10 // Number of rounds to extend by if mp_winlimit is not 0
mani_vote_mapcycle_mode_for_random_map_vote 0   // 0 = mapcycle.txt, 1 = votemapslist.txt, 2 = maplist.txt
mani_vote_mapcycle_mode_for_admin_map_vote 0    // 0 = mapcycle.txt, 1 = votemapslist.txt, 2 = maplist.txt
mani_vote_time_before_end_of_map_vote 3         // Defines how many minutes before the end of the map that a random map vote is started
mani_vote_max_maps_for_end_of_map_vote 6        // Defines how many maps can be in the end of map vote
mani_vote_end_of_map_percent_required 60        // Defines the vote percentage required to set map
mani_vote_rcon_percent_required 60         // Defines the vote percentage required to set rcon vote
mani_vote_question_percent_required 60     // Defines the vote percentage required to set question vote
mani_vote_map_percent_required 60          // Defines the vote percentage required to set map vote
mani_vote_random_map_percent_required 60   // Defines the vote percentage required to set random map vote
mani_vote_show_vote_mode 3            // 0 = quiet mode, 1 = show players as they vote but not their choice, 2 = Show voted choice but not player, 3 = show player name and their choice