Garry's Mod

Garry's Mod

133 个评价
Automatic Votemap Cycle
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
标签: admin, misc
文件大小
发表于
更新日期
6.783 KB
2013 年 10 月 15 日 上午 10:25
2015 年 4 月 8 日 上午 1:38
6 项改动说明 ( 查看 )

订阅以下载
Automatic Votemap Cycle

在 AlexALX 的 2 个合集中
Stargate Botov.NET.UA Garry's Mod Server Content
23 件物品
Train Botov.NET.UA Garry's Mod Server Content
31 件物品
描述
This is full automatic votemap system.
You can add maps to a pool which are used for votes.

Its very usefull, if you want a mapcycle where the players can choose the nextmap.

This version DOESNT require ULX or Ulib.

To add a map ingame use:
automap_addnextmap <map> <gamemode>

Or create an empty textfile named mapcycle.txt to your data folder.
And add maps to the mapcycle.txt this way:
gm_flatgrass sandbox
gm_construct darkrp
gm_mobenix_v3 prop_hunt
gm_botmap sandbox

If you want remove some map from cycle, just remove line with this map from mapcycle.txt file and restart server.

Admin ConVars (settings):
sv_automap_votetime 120 -- How many minutes to first Vote
sv_automap_extendtime 60 -- Extend Map for x Minutes
sv_automap_retry 3 -- Retrys if nobody voted
sv_automap_minvoteneed 0.65 -- In percent
sv_automap_maxextend 4 -- Maximum Extend do -1 to deactivate
sv_automap_minmaps 4 -- How many maps should be in the vote, can be from 1 to 9.
sv_automap_rocksneeded 0.6 -- in % how many rockvotes are needed to force a mapvote
sv_automap_changetime 60 -- In seconds
sv_automap_defaultgmode sandbox -- Change default gamemode
sv_automap_blocktime 180 -- how long should be blocked vote for nextmap just after previous vote (in seconds).
sv_automap_loadtime 300 -- how long should be blocked vote for nextmap just after map loaded (in seconds).
sv_automap_advertise 1 -- enable/disable advertise into game chat with addon commands (for players).

Note: all settings should be stored in garrysmod\cfg\server.cfg if you want to save it, server will read this config every map change.

Admin Commands:
automap_setextend - Change the Extends ingame.
automap_startmapvote 0/1 - Start next vote by manual with or without extend option.
automap_abort - Abort changing map via server/admin console.
automap_reload_cycle - Reload maps cycle without changing map.
automap_reload_settings - Reload addon settings without changing map.
!abort in chat - Abort changing map.

Player Commands:
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!

Have fun.

Authors:
Automapvote by -)BDB(-DrTight
Porting to gmod13 and improvements by AlexALX
117 条留言
someoneyouknows 2022 年 2 月 12 日 下午 12:59 
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 2021 年 10 月 15 日 下午 11:52 
Hey, so the feature should only target humans for voting with player.GetHumans() instead of player.GetAll()
Eggroll 2021 年 6 月 14 日 上午 5:15 
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(никита) 2021 年 4 月 2 日 上午 9:22 
Как я могу изменить язык?
LaserX 2021 年 2 月 1 日 下午 10:16 
how can I remove the name of the gamemode next to the map name when a vote starts?
[LOS] Karim 2020 年 8 月 13 日 下午 7:10 
Can i take this for my Server?
wizerd 2020 年 4 月 21 日 上午 9:02 
Is there a way to disable the box on the bottom of the screen by default for all my server players?
AlexALX  [作者] 2020 年 1 月 5 日 上午 8:17 
@[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 2020 年 1 月 5 日 上午 12:19 
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?
123massier.mir.mein.🥚 2019 年 11 月 6 日 下午 2:44 
How can I Change the language?