Hello. Voting always becomes a problem on servers.
I. NMRiH Binary Vote.These are the vote features built into the game itself:
sv_vote_allow_spectators : 0 : , "sv" : Allow spectators to vote?
sv_vote_failure_timer : 300 : , "sv" : A vote that fails cannot be re-submitted for this long
sv_vote_issue_changelevel_allowed : 1 : , "sv", "rep" : Can players call votes to change level?
sv_vote_issue_kick_allowed : 0 : , "sv", "rep" : Can players call votes to kick players from the server?
sv_vote_issue_nextlevel_allowed : 1 : , "sv", "rep" : Can players call votes to change next level?
sv_vote_issue_restart_game_allowed : 1 : , "sv", "rep" : Can players call votes to restart the round?
sv_vote_ui_hide_disabled_issues : 1 : , "sv" : Suppress listing of disabled issues in the vote setup screen.
It seems that the initial solution is to just set "sv_vote_issue_restart_game_allowed" to "0" on each of our server configs.
Nobody could use the in-game system to change the map then.
II. SourceModUse Sourcemod for voting. In Sourcemod, I could add a command to VIPs and admins ("sm_cancelvote" : cmd : : sm_cancelvote), which is already there anyway, but that will cancel on the vote running in Sourcemod.
I'll look at additional voting options for SourceMod that could be used to require voting by everyone on the server through the !rtv feature.
These are the voting options (some not enabled though) in SourceMod:
Command
|
Plugin
|
Access
|
Format
|
Description
|
sm_vote
|
basevotes
|
vote
|
<question> [answer1] [answer2] [answer3] ...
|
Starts an arbitrary vote with the given arguments as answers. If no answer parameters are supplied, the answer options will be Yes and No localized into each client's language.
|
sm_votealltalk
|
funvotes
|
vote
|
|
Starts a vote to change the value of sv_alltalk.
|
sm_voteban
|
basevotes
|
vote, ban
|
<target> [reason]
|
Starts a vote to ban a single player for thirty minutes.
|
sm_voteburn
|
funvotes
|
vote, slay
|
<target>
|
Starts a vote to burn a single player.
|
sm_voteff
|
funvotes
|
vote
|
|
Starts a vote to change the value of mp_friendlyfire.
|
sm_votegravity
|
funvotes
|
vote
|
<amount> [amount2] [amount3] ...
|
Initiates a vote to change the value of sv_gravity.
|
sm_votekick
|
basevotes
|
vote, kick
|
<target> [reason]
|
Starts a vote to kick a single player.
|
sm_votemap
|
basevotes
|
vote, map
|
<map> [map2] [map3] ...
|
Starts a vote to change the map.
|
sm_voteslay
|
funvotes
|
vote, slay
|
<target>
|
Starts a vote to slay a single player.
|