Garry's Mod

Garry's Mod

评价数不足
[TTT] Ranked Choice MapVote
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 写实
文件大小
发表于
更新日期
8.299 KB
2017 年 10 月 17 日 上午 2:44
2019 年 2 月 2 日 下午 3:11
7 项改动说明 ( 查看 )

订阅以下载
[TTT] Ranked Choice MapVote

描述
〘 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
GitHub: https://github.com/shadsbot/gmod-Ranked-Choice-MapVote
3 条留言
DeadDave 2019 年 8 月 20 日 上午 6:39 
this is a good map voting system.
Ithiria 2018 年 2 月 15 日 下午 11:30 
:trump::trump::trump::trump::trump:
but what if I don't want my game to be democratic?
:trump::trump::trump::trump::trump:
Professor Plum 2017 年 10 月 21 日 下午 6:40 
:thinking: