安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
											






{
"mapRevoteBanRounds": 12.0,
"mapsToVote": 10.0,
"voteTime": 20.0,
"mapPrefixes": [
"ttt_"
],
"mapExcludes": []
}
you can change
"mapPrefixes: ["ttt_"] into "mapPrefixes: ["ttt_", "ge_"]
The function is reading all the map prefixes from this value.
Edit: Just gave it a little test, it doesn't seem to have any effect. There's a chance the maps just didn't show up, but I started and stopped the vote several times to try to get one of them to show and they just don't seem to be appearing.
Would commenting out the line for prefixes disable that or is that line expected to be there and things won't work without it?
No I didn't get it figured out, adding those prefixes didn't seem to change anything. When changing the code, the config file generated still populates as what I posted in the initial message.
Putting the prefixes in either the code itself or the config file doesn't seem to change anything, and the config file always reverts to how it was after a restart.
There's a chance the maps in question, I only have a couple, didn't show up in the map vote. But I sat here for a few minutes just starting and stopping the vote to get a new list and I saw none of them.
I tested it and everything works on my local server. The addon is creating a config.txt in the data folder of garrysmod. And I can modify the config as I need.
I'm experiencing the same issue: I can't add additional prefixes nor exclude certain maps without the config file reverting back to defaults. The rest appears to be working fine.
But i'm willing to help any way I can.
can u show me a screen from ur config? A possible problem could be a wrong format. The config follows the JSON rules. `mapPrefixses` and `mapExcludes` are JSON arrays.
Here is an example config:
I will add a config setup to ULX so u don't need to touch the raw config file.