Garry's Mod

Garry's Mod

Not enough ratings
Map Vote Pools
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
86.238 KB
3 Aug, 2023 @ 2:12pm
9 Dec, 2023 @ 5:46pm
16 Change Notes ( view )

Subscribe to download
Map Vote Pools

In 1 collection by EntranceJew
EntranceJew's Addons
20 items
Description
Spice up your TTT2 map votes with desired playercount indicators!

Map Vote Pools is an addon that is meant to:
  • Give Clarity To Players Sometimes maps are a little too big or too small for the current playercount. Admins can make note of ideal min/max players and let people see that when they vote.
  • No Role Blueballs A major annoyance with MapVote finally fixed, if a RTV or ballot goes through, pauses the round and prevents role distribution.
  • Rock The Vote The ability to rock the vote! Notable additions: !unrtv, ballot status with every RTV related chat message.
  • Fully Configurable From UI No digging in the trenches of your data folder for setting it up.
  • Sorting Optional feature to prioritize maps that perform to the current playercount best.

Although it is based off MapVote - Fretta-like Map Voting, has only been tested extensively on TTT2.

Edit these settings from F1 > Server Addons > Map Vote Pools

cvars
You shouldn't need these outside the menu, but for completeness:
cvar
description
sv_mvp_rtv_player_count value
RTV Player Count: The minimum number of players necessary for RTV.
sv_mvp_rtv_wait value
RTV Wait: The time one must wait before they may RTV on map load.
sv_mvp_rtv_ratio value
RTV Ratio: The percentage of players that must RTV for one to pass.
sv_mvp_enable_cooldown value
Enable Cooldown: Prevent recently played maps from appearing on the ballot.
sv_mvp_maps_before_revote value
Maps Before Revote: How many maps must be played before a map can reappear on the ballot with cooldowns enabled.
sv_mvp_auto_gamemode value
Auto Gamemode: Determine if we need to change the current gamemode based on the map that won the vote.
sv_mvp_map_limit value
Map Limit: The max number of maps that will appear on the ballot.
sv_mvp_map_prefixes value
Map Prefixes: The prefixes to use to search for maps.
Separate each entry with a "|".
If empty, will check for a text file named after the gamemode.
sv_mvp_map_whitelist_enabled value
Map Whitelist Enabled: Only permit the following maps to be chosen. Should not be used in conjunction with blacklist.
sv_mvp_map_whitelist value
Map Whitelist: The names of maps to allow, verbatim.
Separate each entry with a "|".
sv_mvp_map_blacklist_enabled value
Map Blacklist Enabled: Never permit the following maps to be chosen, despite other settings. Should not be used in conjunction with whitelist.
sv_mvp_map_blacklist value
Map Blacklist: The names of maps to deny, verbatim.
Separate each entry with a "|".
sv_mvp_time_limit value
Time Limit: The default duration of a map vote.
sv_mvp_skip_sort value
Skip Sort: Stay random. Do not attempt to sort maps based on player availability scores.
sv_mvp_use_ulx_commands value
Use ULX Commands: Whether to register short commands likely to collide in ULX's menus.
Disable this and use chat for less compatibility but easier invocation.
sv_mvp_use_chat_commands value
Use chat Commands: Whether to register plain-text chat listeners.
Disable this and use ULX for greater compatability with chat widgets.
sv_mvp_allow_current_map value
Allow Current Map: Whether or not players may vote for the map currently being played on.
Effectively, extends the map. Changelevel will still be called.

concommands
command
description
cl_mvp_rtv
RTV Vote: Weigh in on beginning a mapvote. The same as typing !rtv, /rtv, or just rtv in text chat.
cl_mvp_unrtv
RTV Unvote: Recend your desire to begin a mapvote. The same as typing !unrtv, /unrtv, or just unrtv in text chat.

ulx commands
ulx verb
chat command
description
ulx mapvotepools
!mapvotepools etc
Immediately begins a vote ballot.
Optional arguments:
votetime (number) - The duration (in seconds) of the ballot.
ulx unmapvotepools
!unmapvotepools etc
Cancels an ongoing ballot.
... also !rtv and !unrtv if ULX commands are enabled.

To Do
  • Add a nomination system.
  • Implement stat-tracking for administrators.
  • More configuration for the optional sorting and scoring system.
  • Add an option to extend the vote and change the map selection if playercount changes during a ballot.
  • Hooks / Callbacks for further customization.
  • ... you tell me!

Please do not reupload this or include it in ServerContent, I'm working hard to keep this updated and compatible with other mods. I do not want people to get a bad impression that I can't help fix.

Also Try
Some other addons of mine that you should consider for your TTT2 games:
  • PropSpec NoGrief -- Allow TTT2 prop spectators with ghosted props, less chances to interrupt firefights.
  • Lots of Currency -- Fun little collectibles to make things more joyous.
  • Thunder Makes Fire -- Lightning starts fires where it strikes.
  • Death: Combined Luggage -- Drop all your weapons, ammo, money, and inventory in a convenient carrying case that combines with others to reduce lag.
  • Timely Music -- Play music based on the weather and time of day, compatible with most music addon packs.
  • Awesome Hands -- Immersive functional hands for DarkRP and sandbox.

Also consider buying my games[entrancejew.itch.io] if you want. No pressure.
22 Comments
Cemuvi 19 Jun @ 7:29am 
The map sorting (Skip sort 0) doesn't seem to work correctly, right? I tested it with 5 players and the map vote still shows maps meant for 8–16 players...Can you fix this maybe?
EntranceJew  [author] 7 Jun @ 9:08pm 
You have to create an addon where the image is included as the map name, basically, you should be able to check the files of any map icon addon -- or look up the tool to create an icon for your map.
addiman 22 May @ 4:04pm 
How do I add thumbnails for the maps for others to have?
NichtDaniel 20 Feb, 2024 @ 8:12am 
Downloading them from the workshop and saving them client side sounds like a good idea, no?
EntranceJew  [author] 19 Feb, 2024 @ 5:01pm 
Eventually I would like to add that, but what source would you find most pressing to download images from? The workshop page? From the server to the client? Elsewhere?
NichtDaniel 19 Feb, 2024 @ 8:31am 
Any plans to add an automatic thumbnail downloader?
DukeofLeet 17 Dec, 2023 @ 2:07am 
VVVV holy fucking shit, these still exist VVVV
CheezeMoney 16 Dec, 2023 @ 7:24am 
wARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life
DukeofLeet 15 Sep, 2023 @ 5:27pm 
seemed to work for me
dolpin 2.0 15 Sep, 2023 @ 5:21pm 
@EntranceJew
the !ballot command doesnt work