Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
{
"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.