Details

Last Updated
2 years ago
First Uploaded
2 years ago
Downloads
429
Likes
1
Size
88KB
Dependency string
Snnag-ImprovedVote-2.0.0
Dependants

Categories

Snnag's Improved Vote

Improved map/mode voting for Fifty's Server Utilities.

Features

  • Set infinite map/mode combos. Players will be able to vote between a random selection of options.
  • Supports any number of maps and modes: voting will automatically disable if there are no options.
  • Voting runs during the postmatch screen instead of at a certain time remaining, meaning less interruptions.
  • Players always have a chance to vote, even if the match ends early.
  • A new !skip command goes to the postmatch screen, allowing players to see scores and vote for the next match.
  • Voting can be turned off to automatically pick a random map/mode combo at the end of each game. No more repeating playlists!

Setting up

Copy mod/scripts/vscripts/config.example.nut to mod/scripts/vscripts/config.nut. This is where any config options that don't fit into a ConVar will go.

  • SIV_PLAYLIST is the list of available maps/mode combos. Make sure that PLAYLIST_LEN is equal to the number of items in the playlist!
  • SIV_CUSTOM_MAP_NAMES is a table of map name overrides to customize how the poll is displayed.
  • SIV_CUSTOM_MODE_NAMES is a table of mode name overrides to customize how the poll is displayed.

ConVars

  • SIV_ENABLE_SKIP enables or disables !skip. Default: "1" (enabled)
  • SIV_ENABLE_GAME_VOTE enables or disables voting. When disabled, a random map/mode combo will be picked. Default: "1" (enabled)
  • SIV_MAX_OPTIONS sets the max number of combos presented to players. Should be no more than 7. Default: "5"
  • SIV_POSTMATCH_LENGTH sets the duration the postmatch screen and vote are shown. Default: "15"
  • SIV_MAPCHANGE_FRACTION sets the fraction of players that skip vote. Default: "0.6"
  • SIV_SKIP_VOTE_LENGTH sets the duration that skip votes will run for. Default: "60"

License

Provided under the MIT license. Check the LICENSE file for details.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.