Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] MapVote with automatic Icons [FEATURE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
11.887 KB
23 Sep, 2024 @ 2:58pm
31 Oct, 2024 @ 5:06pm
13 Change Notes ( view )

Subscribe to download
[TTT2] MapVote with automatic Icons [FEATURE]

In 1 collection by Carlotta Montelli
[TTT2] VirtualLifeDE Complete Collection
645 items
Description
THIS REQUIRES TTT2 TO WORK.

Description
Simple MapVote Plugin with Icons. It uses built-in features from TTT2 to load the Icons.
You don't need to install any icon packs alongside this mod. It will work with any map from the workshop (as long as the workshop mod has an icon).
To limit the maps that are available in the vote, please use the built-in map selector from TTT2.

ConVars
mapvote_maplimit [12-48]: Maximum amount of maps shown in one vote
mapvote_timelimit [15-60]: Time limit for a vote (in seconds)
mapvote_allowcurrentmap [0|1]: Allows the current map to appear in the next vote again

Repo: https://github.com/shynno-scarlet/TTT2-MapVote
Original MapVote by willox: https://github.com/willox/gmod-mapvote

Uploaded with gmpublisher[github.com]
9 Comments
PsychicalGamer 22 Jun @ 1:29pm 
is there a comand for like rtv ?
Admiral_Noi 27 May @ 11:28am 
How do i disable maps without a prefix? the mapvote_allowcurrentmap command does nothing.
Mr. Napkins 9 May @ 3:43pm 
Amazing. Sad I didn't see this until now. It's nice to find integrated stuff. Thanks for sharing.
Carlotta Montelli  [author] 26 Apr @ 3:24am 
The mod uses the built-in system from TTT2. You can set the TTT2 map pool as follows:
Open the TTT2 Menu (default keybind is F1), click on "Admin Commands", then select "Maps" and disable every category except ttt. (You need to be a server admin to do this.)
https://imgur.com/a/tpMGN90
InsanitySimulator 26 Apr @ 2:47am 
is there any way to disable maps not in the ttt category from appearing in the map vote?
Wez 5 Mar @ 5:43am 
is there anyway to bring it backup when i close the selector in game?
Yu ♥ #OnlyUnlucky 5 Feb @ 10:20am 
Ah Okay that makes sense sorry I didn't know that cvar is a command :D
Carlotta Montelli  [author] 5 Feb @ 10:12am 
Don't change the LUA file, just set the cvar "mapvote_maplimit" to 48. (You also need at least 48 maps on your server.)
You can set the cvar by typing "mapvote_maplimit 48" in your server console (without the quotes).
Yu ♥ #OnlyUnlucky 5 Feb @ 10:04am 
I downloaded the mod and added it to my server add-ons folder, and tried to change the maximum maps from 24 to 48 via mapvote.lua but nothing happens