Difference between revisions of "Voting"
m (→Update history) |
m (Correct markup) |
||
Line 11: | Line 11: | ||
There are seven types of votes that can be called: | There are seven types of votes that can be called: | ||
− | * '''Kick''': Kick a selected player out of the server and bans the player from joining the server temporarily. The ban time is determined by {{ | + | * '''Kick''': Kick a selected player out of the server and bans the player from joining the server temporarily. The ban time is determined by {{cvar|sv_vote_kick_ban_duration}}. Only players on the vote-initiator's team can be voted upon. |
* '''Restart Game''': Restarts the current round. If this comes to pass, then a notification will be given out to all players that the round will restart. A set number of seconds pass before a new round begins, neither team getting any points. | * '''Restart Game''': Restarts the current round. If this comes to pass, then a notification will be given out to all players that the round will restart. A set number of seconds pass before a new round begins, neither team getting any points. | ||
* '''Change Level''': The current map changes to the selected map. | * '''Change Level''': The current map changes to the selected map. | ||
− | * '''Next Level''': The next map is changed to the selected map. Unlike ChangeLevel, the current map doesn't end. | + | * '''Next Level''': The next map is changed to the selected map. Unlike {{code|ChangeLevel}}, the current map doesn't end. |
* '''Scramble Teams''': The players are put in a random team. Note that this will immediately scramble the teams, rather than wait until the end of the round. A notification is given to all players that a scramble will commence before it happens. | * '''Scramble Teams''': The players are put in a random team. Note that this will immediately scramble the teams, rather than wait until the end of the round. A notification is given to all players that a scramble will commence before it happens. | ||
* '''Disable [[Team balance|Team Autobalance]]''': Prevents the server from automatically changing players to the other team if there is an imbalance. | * '''Disable [[Team balance|Team Autobalance]]''': Prevents the server from automatically changing players to the other team if there is an imbalance. | ||
Line 22: | Line 22: | ||
; F1 | ; F1 | ||
− | : Votes "Yes" on the current vote or chooses a map in a level vote. Client command is "vote option1". | + | : Votes "Yes" on the current vote or chooses a map in a level vote. Client command is "{{kbd|vote option1}}". |
; F2 | ; F2 | ||
− | : Votes "No" on the current vote or chooses a map in a level vote. Client command is "vote option2". | + | : Votes "No" on the current vote or chooses a map in a level vote. Client command is "{{kbd|vote option2}}". |
; F3 | ; F3 | ||
− | : Chooses a map in a level vote. Client command is "vote option3". | + | : Chooses a map in a level vote. Client command is "{{kbd|vote option3}}". |
; F4 | ; F4 | ||
− | : Chooses a map in a level vote. Client command is "vote option4". | + | : Chooses a map in a level vote. Client command is "{{kbd|vote option4}}". |
; F5 | ; F5 | ||
− | : Chooses a map in a level vote or extends the current map in a | + | : Chooses a map in a level vote or extends the current map in a {{code|NextLevel}} vote. Client command is "{{kbd|vote option5}}". |
− | ; "callvote" | + | ; "{{kbd|callvote}}" |
: Opens the dialog to call a vote. Is not bound by default. | : Opens the dialog to call a vote. Is not bound by default. | ||
Line 43: | Line 43: | ||
Server-side variables can be set to adjust several elements of the voting engine. The following commands are made available: | Server-side variables can be set to adjust several elements of the voting engine. The following commands are made available: | ||
− | ; {{ | + | ; {{cvar|sv_allow_votes}} |
: Enables or disables the voting system entirely. Defaults to {{code|1}} (enabled). | : Enables or disables the voting system entirely. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_allow_spectators}} |
: Allow spectators to participate in votes. Defaults to {{code|0}} (disabled). | : Allow spectators to participate in votes. Defaults to {{code|0}} (disabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_failure_timer}} |
: Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to {{code|300}} (5 minutes). | : Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to {{code|300}} (5 minutes). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_autobalance_allowed}} |
: Allow a vote to disable autobalance to be called. Defaults to {{code|1}} (enabled). | : Allow a vote to disable autobalance to be called. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_kick_allowed}} |
: Allow kick votes to be called. Defaults to {{code|0}} (disabled). | : Allow kick votes to be called. Defaults to {{code|0}} (disabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_kick_ban_duration}} |
: The length of time (in minutes) of the ban on the player if the kick vote is successful. Defaults to {{code|20}}. Set to {{code|0}} to disable the ban entirely and instead only kick the player. | : The length of time (in minutes) of the ban on the player if the kick vote is successful. Defaults to {{code|20}}. Set to {{code|0}} to disable the ban entirely and instead only kick the player. | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_nextlevel_allowed}} |
: Allow the next level to be determined by vote. Defaults to {{code|1}} (enabled). If called during a round, the map will change on round end. Not at the end of the timelimit for the map. Disabling this also disables the automatic end of map vote. | : Allow the next level to be determined by vote. Defaults to {{code|1}} (enabled). If called during a round, the map will change on round end. Not at the end of the timelimit for the map. Disabling this also disables the automatic end of map vote. | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_nextlevel_allowextend}} |
: Allow the next level vote to include an 'Extend' option. Defaults to {{code|1}} (enabled). | : Allow the next level vote to include an 'Extend' option. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_nextlevel_choicesmode}} |
: Allow players to be presented with a list of lowest playtime maps to choose from. Defaults to {{code|1}} (enabled). | : Allow players to be presented with a list of lowest playtime maps to choose from. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_nextlevel_prevent_change}} |
: Not allowed to vote for a nextlevel if one has already been set. Defaults to {{code|1}} (enabled). | : Not allowed to vote for a nextlevel if one has already been set. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_changelevel_allowed}} |
: Allow a vote that changes the map to the next level immediately to be initiated. Defaults to {{code|0}} (disabled). | : Allow a vote that changes the map to the next level immediately to be initiated. Defaults to {{code|0}} (disabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_restart_game_allowed}} |
: Allow a vote that restarts the round to be initiated. Defaults to {{code|1}} (enabled). | : Allow a vote that restarts the round to be initiated. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_scramble_teams_allowed}} |
: Allow a vote that scrambles the teams to be initiated. Defaults to {{code|1}} (enabled). | : Allow a vote that scrambles the teams to be initiated. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_ui_hide_disabled_issues}} |
: Suppress listing of disabled issues in the vote setup screen. Default to {{code|1}} (enabled). | : Suppress listing of disabled issues in the vote setup screen. Default to {{code|1}} (enabled). | ||
== MVM Voting == | == MVM Voting == | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_kick_allowed_mvm}} |
: Allow kick votes to be called. Defaults to {{code|1}} (enabled). | : Allow kick votes to be called. Defaults to {{code|1}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_changelevel_allowed_mvm}} |
: Allow a vote that changes the map to the next level immediately to be initiated. Defaults to {{code|0}} (disabled). | : Allow a vote that changes the map to the next level immediately to be initiated. Defaults to {{code|0}} (disabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_kick_min_connect_time_mvm}} |
: Allow the kicking of anyone that isn't team invaders and haven't joined a team in Mann vs. Machine as long as they've passed the time set. | : Allow the kicking of anyone that isn't team invaders and haven't joined a team in Mann vs. Machine as long as they've passed the time set. | ||
: Defaults to {{code|0}} (enabled). | : Defaults to {{code|0}} (enabled). | ||
− | ; {{ | + | ; {{cvar|sv_vote_failure_timer_mvm}} |
: Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to {{code|120}} (2 minutes). | : Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to {{code|120}} (2 minutes). | ||
− | ; {{ | + | ; {{cvar|sv_vote_issue_mvm_challenge_allowed }} |
: Allow to change MvM game mode difficulty level. | : Allow to change MvM game mode difficulty level. | ||
: Defaults to {{code|1}} (enabled). | : Defaults to {{code|1}} (enabled). | ||
Line 114: | Line 114: | ||
== Gallery == | == Gallery == | ||
<gallery> | <gallery> | ||
− | File:HUD Vote.png|A picture of the "Scramble Teams" voting | + | File:HUD Vote.png|A picture of the "Scramble Teams" voting dialog. |
</gallery> | </gallery> | ||
== Update history == | == Update history == | ||
Line 126: | Line 126: | ||
'''{{Patch name|6|8|2011}}''' | '''{{Patch name|6|8|2011}}''' | ||
*Updated the voting system. | *Updated the voting system. | ||
− | ** Added a convar to prevent voting on the next level if one has already been set (sv_vote_issue_nextlevel_prevent_change). | + | ** Added a convar to prevent voting on the next level if one has already been set ({{cvar|sv_vote_issue_nextlevel_prevent_change}}). |
** Fixed scrambleteams resetting how many rounds have been played. | ** Fixed scrambleteams resetting how many rounds have been played. | ||
*** Updated mp_scrambleteams to support a parameter of 2, which prevents resetting the number of rounds that have been played. | *** Updated mp_scrambleteams to support a parameter of 2, which prevents resetting the number of rounds that have been played. | ||
Line 141: | Line 141: | ||
'''{{Patch name|4|18|2012}}''' | '''{{Patch name|4|18|2012}}''' | ||
− | * Vote caller history is now tracked by SteamID to prevent vote cooldown exploits. | + | * Vote caller history is now tracked by [[SteamID]] to prevent vote cooldown exploits. |
* Fixed players being able to disconnect before a successful kickvote to avoid being banned. | * Fixed players being able to disconnect before a successful kickvote to avoid being banned. | ||
Line 149: | Line 149: | ||
'''{{Patch name|10|9|2012}}''' | '''{{Patch name|10|9|2012}}''' | ||
* Allow kicking of connected players that haven't joined a team in [[Mann vs. Machine (game mode)|Mann vs. Machine]]. | * Allow kicking of connected players that haven't joined a team in [[Mann vs. Machine (game mode)|Mann vs. Machine]]. | ||
− | * Added sv_vote_issue_kick_spectators_mvm (default 0) which allows players to kick anyone that isn't team invaders, as long as they've passed the sv_vote_issue_kick_min_connect_time_mvm timer, if enabled. | + | * Added {{cvar|sv_vote_issue_kick_spectators_mvm}} (default 0) which allows players to kick anyone that isn't team invaders, as long as they've passed the {{cvar|sv_vote_issue_kick_min_connect_time_mvm}} timer, if enabled. |
'''{{Patch name|5|13|2013}}''' | '''{{Patch name|5|13|2013}}''' | ||
Line 159: | Line 159: | ||
'''{{Patch name|9|15|2014}}''' | '''{{Patch name|9|15|2014}}''' | ||
* Fixed an exploit where players could circumvent successful kick votes. | * Fixed an exploit where players could circumvent successful kick votes. | ||
− | * Default value for convar sv_vote_issue_scramble_teams_cooldown has been increased to 20 minutes. | + | * Default value for convar {{cvar|sv_vote_issue_scramble_teams_cooldown}} has been increased to 20 minutes. |
'''{{Patch name|9|16|2014}}''' | '''{{Patch name|9|16|2014}}''' |
Revision as of 16:40, 7 November 2014
“ | America wins again!
Click to listen
— The Soldier celebrating democracy at work
|
” |
Voting is a game feature added in the Hatless Update on April 14, 2011 Patch. It enables any player to call a vote to enact a change on the server. The various voting options enable players to vote on a map change, to kick a particular player or to scramble the teams. Any player can initiate a vote by clicking on the checkbox icon in the main menu. A vote type can then be selected and the vote is put to all players present in the server.
The voting system was first introduced into the Team Fortress 2 Beta on March 9, 2011 Patch (Beta). Two later updates that included tweaks to the system were made available in the beta, before the system went live in Team Fortress 2 on April 14. Before this feature was added, the only way to change maps, kick, or ban players was via console commands, or using server mods.
The voting system can be disabled by setting the server command sv_allow_votes
to 0
. Particular voting types can also be disabled by specific server commands.
Contents
Voting types
There are seven types of votes that can be called:
- Kick: Kick a selected player out of the server and bans the player from joining the server temporarily. The ban time is determined by
sv_vote_kick_ban_duration
. Only players on the vote-initiator's team can be voted upon. - Restart Game: Restarts the current round. If this comes to pass, then a notification will be given out to all players that the round will restart. A set number of seconds pass before a new round begins, neither team getting any points.
- Change Level: The current map changes to the selected map.
- Next Level: The next map is changed to the selected map. Unlike
ChangeLevel
, the current map doesn't end. - Scramble Teams: The players are put in a random team. Note that this will immediately scramble the teams, rather than wait until the end of the round. A notification is given to all players that a scramble will commence before it happens.
- Disable Team Autobalance: Prevents the server from automatically changing players to the other team if there is an imbalance.
- Eternaween: Allow Halloween-restricted items for two hours.
Client commands
- F1
- Votes "Yes" on the current vote or chooses a map in a level vote. Client command is "vote option1".
- F2
- Votes "No" on the current vote or chooses a map in a level vote. Client command is "vote option2".
- F3
- Chooses a map in a level vote. Client command is "vote option3".
- F4
- Chooses a map in a level vote. Client command is "vote option4".
- F5
- Chooses a map in a level vote or extends the current map in a
NextLevel
vote. Client command is "vote option5".
- "callvote"
- Opens the dialog to call a vote. Is not bound by default.
Server commands
Server-side variables can be set to adjust several elements of the voting engine. The following commands are made available:
sv_allow_votes
- Enables or disables the voting system entirely. Defaults to
1
(enabled).
sv_vote_allow_spectators
- Allow spectators to participate in votes. Defaults to
0
(disabled).
sv_vote_failure_timer
- Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to
300
(5 minutes).
sv_vote_issue_autobalance_allowed
- Allow a vote to disable autobalance to be called. Defaults to
1
(enabled).
sv_vote_issue_kick_allowed
- Allow kick votes to be called. Defaults to
0
(disabled).
sv_vote_kick_ban_duration
- The length of time (in minutes) of the ban on the player if the kick vote is successful. Defaults to
20
. Set to0
to disable the ban entirely and instead only kick the player.
sv_vote_issue_nextlevel_allowed
- Allow the next level to be determined by vote. Defaults to
1
(enabled). If called during a round, the map will change on round end. Not at the end of the timelimit for the map. Disabling this also disables the automatic end of map vote.
sv_vote_issue_nextlevel_allowextend
- Allow the next level vote to include an 'Extend' option. Defaults to
1
(enabled).
sv_vote_issue_nextlevel_choicesmode
- Allow players to be presented with a list of lowest playtime maps to choose from. Defaults to
1
(enabled).
sv_vote_issue_nextlevel_prevent_change
- Not allowed to vote for a nextlevel if one has already been set. Defaults to
1
(enabled).
sv_vote_issue_changelevel_allowed
- Allow a vote that changes the map to the next level immediately to be initiated. Defaults to
0
(disabled).
sv_vote_issue_restart_game_allowed
- Allow a vote that restarts the round to be initiated. Defaults to
1
(enabled).
sv_vote_issue_scramble_teams_allowed
- Allow a vote that scrambles the teams to be initiated. Defaults to
1
(enabled).
sv_vote_ui_hide_disabled_issues
- Suppress listing of disabled issues in the vote setup screen. Default to
1
(enabled).
MVM Voting
sv_vote_issue_kick_allowed_mvm
- Allow kick votes to be called. Defaults to
1
(enabled).
sv_vote_issue_changelevel_allowed_mvm
- Allow a vote that changes the map to the next level immediately to be initiated. Defaults to
0
(disabled).
sv_vote_issue_kick_min_connect_time_mvm
- Allow the kicking of anyone that isn't team invaders and haven't joined a team in Mann vs. Machine as long as they've passed the time set.
- Defaults to
0
(enabled).
sv_vote_failure_timer_mvm
- Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to
120
(2 minutes).
sv_vote_issue_mvm_challenge_allowed
- Allow to change MvM game mode difficulty level.
- Defaults to
1
(enabled).
Sounds
The voting system uses a few sound clips to help show the progress of the voting, taken from The Art of War.
- A vote was started.
- A player has voted yes.
- A player has voted no.
- Vote passed successfully.
- Vote failed to pass.
Gallery
Update history
- Added a vote system.
- Server convars added to control the vote system.
- Fixed a server crash caused by the vote system.
- Updated the voting system.
- Added a convar to prevent voting on the next level if one has already been set (
sv_vote_issue_nextlevel_prevent_change
). - Fixed scrambleteams resetting how many rounds have been played.
- Updated mp_scrambleteams to support a parameter of 2, which prevents resetting the number of rounds that have been played.
- Fixed the server automatically creating votes while in training or using itemtest.
- Added a convar to prevent voting on the next level if one has already been set (
- Fixed a problem with clients seeing the incorrect vote options after changing servers.
- Added an entry for "Call Vote" to the Options->Keyboard Settings, so you can bind a key to it.
- Fixed being able to call server votes for training maps.
- Vote caller history is now tracked by SteamID to prevent vote cooldown exploits.
- Fixed players being able to disconnect before a successful kickvote to avoid being banned.
- Votes created by a dedicated server no longer trigger a failed vote cooldown.
- Allow kicking of connected players that haven't joined a team in Mann vs. Machine.
- Added
sv_vote_issue_kick_spectators_mvm
(default 0) which allows players to kick anyone that isn't team invaders, as long as they've passed thesv_vote_issue_kick_min_connect_time_mvm
timer, if enabled.
- [Undocumented] Player avatars will now appear in the Voting menus.
- Fixed a case where players that are the target of a vote kick would not be banned from the server.
- Fixed an exploit where players could circumvent successful kick votes.
- Default value for convar
sv_vote_issue_scramble_teams_cooldown
has been increased to 20 minutes.
- Fixed a server crash related to the vote kick system.
- Added "Enable/Disable Auto Team balance" votes
- Successful votes will enable/disable team player count balancing
- Use
sv_vote_issue_autobalance_allowed
to control if this vote is enabled on the server - Votes not allowed in Mann vs. Machine, Medieval mode, Arena mode, Tournament Mode, or Training
- Updated the vote system
- Fixed team-specific vote sounds/notifications playing/showing for the ineligible team
sv_vote_issue_restart_game_allowed
default changed to off- Added
sv_vote_issue_restart_game_allowed_mvm
(on by default) - Added "Enable/Disable Class Limits" vote
- Controlled by
sv_vote_issue_classlimits_allowed
(off by default)- Limit controlled by
sv_vote_issue_classlimits_max
(default 4)
- Limit controlled by
- Controlled by
sv_vote_issue_classlimits_allowed_mvm
in Mann vs. Machine (off by default)- Limit controlled by
sv_vote_issue_classlimits_max_mvm
in Mann vs. Machine (default 2)
- Limit controlled by
- Controlled by