Voting
Odamex offers a robust set of voting options to server administrators that allows them to give varying levels of control to the player.
Server
Vote Modifiers
The vote system offers a variety of options to server administrators that allow votes to be carried out following certain rules.
Vote Majority
Usage: sv_vote_majority (#)
Percentage of "yes" votes needed for a vote to pass. Default value is 0.5 (50%).
Vote Timelimit
Usage: sv_vote_timelimit (#)
The amount of time that clients can participate in a vote. Measured in seconds, the default value is 30.
Vote Timeout
Usage: sv_vote_timeout (#)
The amount of time a client must wait to call another vote if their first failed. Measured in seconds, the default value is 60.
Vote Types
There are a number of different types of votes available for server administrators. They can all be easily turned on or off.
Coinflip
Usage: sv_callvote_coinflip (0-1)
Allows clients the ability to flip a coin. Returns either heads or tails in a text string.
Force to Spectator
Usage: sv_callvote_forcespec (0-1)
Allows clients the ability to force an active player into spectator mode.
Fraglimit
Usage: sv_callvote_fraglimit (0-1)
Allows clients the ability to change the fraglimit through a vote.
Kick
Usage: sv_callvote_kick (0-1)
Allows clients the ability to kick other players from the server through a vote.
Map
Usage: sv_callvote_map (0-1)
Allows clients the ability to change the map through a vote. All maps in the server's maplist can be voted on by the players.
Nextmap
Usage: sv_callvote_nextmap (0-1)
Allows clients the ability to force the server to the next map in the maplist.
Random Captains
Usage: sv_callvote_randcaps (0-1)
Allows clients the ability to have the server choose two "captains" from active players. It will set them both to separate teams in team games. Commonly used for private CTF games.
Random Map
Usage: sv_callvote_randmap (0-1)
Allows clients the ability to have the server jump to a random map from its maplist.
Random Pickup
Usage: sv_callvote_randpickup (0-1)
Allows clients the ability to have the server shuffle teams with a designated number of players.
Restart
Usage: sv_callvote_restart (0-1)
Allows clients the ability to have the server reload the current map.
Scorelimit
Usage: sv_callvote_scorelimit (0-1)
Allows clients the ability to change the scorelimit through a vote.
Timelimit
Usage: sv_callvote_timelimit (0-1)
Allows clients the ability to change the timelimit through a vote.