Module Rock The Vote - Steell/Ultimate-Mapchooser GitHub Wiki
The Rock The Vote module is meant to bring Rock The Vote-style voting from SourceMod's rockthevote.smx plugin to Ultimate Mapchooser. As you would expect, this module functions very similar to SourceMod's RTV implementation.
Players can enter Rock The Vote by typing "rtv" in chat or using following commands:
- sm_umc_rtv and sm_umc_rockthevote -- enters the client into Rock The Vote.
Once enough players have entered Rock The Vote (determined by a configurable percentage threshold cvar), this module will start a map vote. If the map vote fails, then the server will not be able RTV again until the specified interval (in a cvar) has passed. If the map vote passed, then the next map is set.
After Ultimate Mapchooser has set the next map (from any module, not just this one), if an RTV then passes, a cvar controls what action should be taken.
The list of cvars for the Rock The Vote module is located in cfg/sourcemod/umc-rockthevote.cfg.