Garry's Mod

Garry's Mod

Not enough ratings
[TTT] Ranked Choice MapVote
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Fun, Realism
File Size
Posted
Updated
0.008 MB
Oct 17, 2017 @ 2:44am
Feb 2 @ 3:11pm
7 Change Notes ( view )

Subscribe to download
[TTT] Ranked Choice MapVote

Subscribed
Unsubscribe
Description
Ranked Choice Map Vote for Garry's Mod

Right now this addon is primarily for TTT, it may work for sandbox and other gamemodes, but no promises.

This addon utilizes ranked choice (runoff) voting methods to find the least unfavourable map to play on. You rank a list of at least three and at most seven maps from most preferable to least preferable.
For more information about Ranked Choice voting systems and how they work, check out CGP Grey's explanation.

Documentation:


RCMV will use a file, maplist.txt, located in garrysmod/data/rcmapvote, as a blacklist. It can be changed to act as a whitelist depending on the value of the rcmv_whitelist convar.

When acting as a whitelist, it will only draw from the maps in maplist.txt, while acting as a blacklist it will scan the maps folder for any .bsp that contains the ttt_ prefix, and exclude the maps in maplist.txt. Each map should be on its own line, and without the .bsp extension.

You can configure the amount of time players have to vote by changing the rcmv_votingduration convar (seconds), defaults to 120.

Force the mapvote to start by running the concommand rcmv_forcevoting.

Players can also nominate up to four maps of their choosing. The map must be in the whitelist if in whitelist mode, and not blacklisted if in blacklist mode. They can nominate by using the !nominate <map> chat command.

Source code avalible on der GitHub: https://github.com/shadsbot/gmod-Ranked-Choice-MapVote
< >
3 Comments
Festive BOG SMOKE Aug 20 @ 6:39am 
this is a good map voting system.
Ithiria Feb 15, 2018 @ 11:30pm 
:trump::trump::trump::trump::trump:
but what if I don't want my game to be democratic?
:trump::trump::trump::trump::trump:
Professor Plum Oct 21, 2017 @ 6:40pm 
:thinking: