Garry's Mod

Garry's Mod

Automatic Votemap Cycle
117 Comments
someoneyouknows 12 Feb, 2022 @ 12:59pm 
I might just be stupid or something but I can't seem to figure out how to change how long it takes for the map to change. It just might be me.
>KB> >KEKSQUAD 15 Oct, 2021 @ 11:52pm 
Hey, so the feature should only target humans for voting with player.GetHumans() instead of player.GetAll()
Eggroll 14 Jun, 2021 @ 5:15am 
I recommend you add a feature so that the map change logic sleeps (stops changing the map) when there are 0 players on the server! Also, after there are 0 players and one joins the timer starts. Because I have an issue with players joining and then 7 minutes later the map vote starts, causing there to be a weird pattern until the map changes. I love the add on tho! <3 I use this for my server! Eggroll’s Gun Game. It’s the only public USA gun game sever!
sokur196(никита) 2 Apr, 2021 @ 9:22am 
Как я могу изменить язык?
LaserX 1 Feb, 2021 @ 10:16pm 
how can I remove the name of the gamemode next to the map name when a vote starts?
Büyük Kürt [LOS] 13 Aug, 2020 @ 7:10pm 
Can i take this for my Server?
wizerd 21 Apr, 2020 @ 9:02am 
Is there a way to disable the box on the bottom of the screen by default for all my server players?
AlexALX  [author] 5 Jan, 2020 @ 8:17am 
@[LGRP] JohnV
If you removed addong it should dissapear (after change map/server restart). Also it is possible to disable that via sv_automap_advertise 0 command what you should put inside server.cfg
Chomma 5 Jan, 2020 @ 12:19am 
How do I remove this from the chat on startup:
How to remove this ad from chat?
Type !nominate to add your favorite map to the next mapvote!
Type !rtv to vote for the start of the next mapvote!
Type !hidevotehud to hide or unhide votemap hud!

I've also just tried plain out removing the addon but it still won't fix it, anyone have a clue on how to fix this?
devrimdgn62 6 Nov, 2019 @ 2:44pm 
How can I Change the language?
DJ Kuzya_UA 5 Nov, 2019 @ 12:16am 
AlexALX , Через консоль клиенскую, можно и так,спасибо большое))
AlexALX  [author] 4 Nov, 2019 @ 11:05am 
@Батя сервера


Используя команду в игре:
automap_addnextmap <map> <gamemode>

И/или создать файл mapcycle.txt в папке data в гмоде и добавлять карты таким образом:
gm_flatgrass sandbox
gm_construct darkrp
gm_mobenix_v3 prop_hunt
gm_botmap sandbox
DJ Kuzya_UA 4 Nov, 2019 @ 5:30am 
добрый день, а можно объяснить как добавить карты))) на русском)
KeQwerty 28 Oct, 2019 @ 2:20am 
How to disable it?
Dranix 24 Apr, 2019 @ 3:27pm 
Is it possible to use sv_automap_votetime X when playing peer to peer?
Dauggo 12 Mar, 2018 @ 5:01am 
I Cant vote for 0, i think i put another command for 0, i unbinded it and i cant still vote for 0.
Kelplyhelply 6 Jan, 2018 @ 5:56pm 
Yeah he just said say !hidevotehud read more of it dumbo! :3
Nipeno 13 Nov, 2017 @ 11:06am 
some way to translate the addon?
AlexTV 5 Nov, 2017 @ 11:48am 
I hoping that the author is still responding to comment ;) Am I able to disable the box at the bottom of the screen?
de_rokakermon 8 Oct, 2017 @ 1:34pm 
I am very unsuccesful with trying to add more maps as voting options.
Ickycoolboy 4 Oct, 2017 @ 9:27pm 
The addon is working just fine on my 3 servers. 2 sandboxes and 1 basewars.
Hades 4 Oct, 2017 @ 5:31pm 
hey. is this addon still working, also on DarkRP?
TawnyTTV 16 Apr, 2017 @ 2:19pm 
Where am i putting the GMA? and will this allow me to load a map with a specific config?
GoopLass 19 Mar, 2017 @ 11:21am 
how do i make the amount of time until the next vote shorter
ABadMagicPlayer 31 Dec, 2016 @ 1:08am 
Or some cvar for the mod to sort to maps with the same game mode or something. I have no modding experience so I don't even know what that would look like for you to do, but if that would be very difficult or impossible, feel free to ignore me :)
ABadMagicPlayer 31 Dec, 2016 @ 1:02am 
This is quite nice. The only improvement I can think of is making it so your mapcycle.txt could be grouped so that, for example, if you're playing prop hunt it would only show maps with the prop hunt game mode and if you were playing sandbox it would only show vote options with the sandbox game mode, etc.
Boneca Ambalabu 20 Oct, 2016 @ 8:58am 
Ok, I'll try so c:
AlexALX  [author] 20 Oct, 2016 @ 8:05am 
@[LR]Traziiex tehnically it should work with any gamemode, but can't guarante, never played murder.
Boneca Ambalabu 20 Oct, 2016 @ 7:59am 
Hi AlexALX, does this script work with murder ?
♱ ⁧⁧ 𝖋𝖊𝖓𝖙 3 Oct, 2016 @ 2:32pm 
How do I delete a map?
AlexALX  [author] 25 Jul, 2016 @ 3:34am 
@Katie Endemoniada
I'm not original author i only did improvements so it is bug what created by original author.

Also reporting bugs in such manners not giving any motivation to fix it. Be more polite please.
Glevion 24 Jul, 2016 @ 11:57am 
What a shit of plugin. I set sv_automap_minvoteneed 0 and still keep saying "Not enough people voted". Learn to make plugins , bastard.
jfd 6 Jun, 2016 @ 10:08am 
I hope it works. Damn I fucking love you if this works. I've been searching for this WHOLE fucking day rn.
manuel 1 May, 2016 @ 4:57pm 
awesome addon, exactly what i was looking for, works very well, very easy to use
AlexALX  [author] 27 Mar, 2016 @ 2:46pm 
@He||oween
there is no such option right now, but probably i can make server settings for this later.
He||oween 27 Mar, 2016 @ 2:44pm 
How to disable votehud by default?
fox 14 Mar, 2016 @ 4:47pm 
is there a command to lower the next vote time
SiKa 12 Dec, 2015 @ 9:32am 
Hi,
Is there a way of making it, so the Rock Vote thingy pops up at the last round?
Ickycoolboy 6 Dec, 2015 @ 8:56am 
Could an option be added to have a map cooldown where if a map has just been played, it won't appear through a set amount of successful map votes?
Legend 16 Sep, 2015 @ 12:42pm 
Hey i'm trying to use 1 map in the votemap cycle, but it wont show that 1 map when the vote is up. I already have sv_automap_minmaps 1 in my server cfg. I'm also checking the map cycle with automap_reload_cycle and no maps are being shown.
AlexALX  [author] 31 Jul, 2015 @ 5:05am 
@emylu05 its gmod problem, not my, so talk with gmod support.
emylu05 30 Jul, 2015 @ 6:03pm 
Everytime I open up a new game, I uninstalled it and it's still on! FIX THIS BUG NOW!
ᴬˡᵉˣᶜʳᵒʷᵇᵃʳᶻ 28 Jun, 2015 @ 12:19pm 
Do I have to add terrortown after writing the map in the txt file? Ex: ttt_minecraft_b5 terrortown
ᴬˡᵉˣᶜʳᵒʷᵇᵃʳᶻ 28 Jun, 2015 @ 10:58am 
The last !rtv never works and the time for the vote always resets back to 20.
freaker 2 Jun, 2015 @ 1:09pm 
@AlexALX
Thank you!
AlexALX  [author] 1 Jun, 2015 @ 10:37pm 
@[VG] Pikachu
garrysmod/data
freaker 31 May, 2015 @ 1:24pm 
Where do I put mapcycle.txt?
Umdum 26 May, 2015 @ 1:47pm 
Fantastic. Works great on Jailbreak 7
AlexALX  [author] 8 Apr, 2015 @ 1:38am 
@X-Coder thank you for report, fixed.
X-Coder 27 Mar, 2015 @ 7:43pm 
There is a bug in the addon which removes all the linebreaks in mapcycle.txt and makes it useles when using automap_addnextmap command.

If you want to use the command, just replace this line:
local mapcycle = string.Implode("", tbl)

with:
local mapcycle = string.Implode("\r\n", tbl)