Yeah, thatâs one of them. You can list all vote-cvars by doing â/cvarlist vote_allowâ to your console.
About the default.cfg: I guess you are using a server.cfg that is read when you start your server. And in that cfg you normally put all the vote cvars and define whether theyâre allowed or not. But my script changes those cvars after the time is up, so from the second map on, the votes will be disallowed permanently. Therefore you need a hook that allows the cvars at every mapstart. And that is the default.cfg inside of your g_mapconfigs-directory. It gets parsed on every mapstart. So if you dont have it already, simply create it and put all the map-cvars in there (Only the ones that are set to 1, the ones set to 0 dont matter).
I hope that explanation is understandable. If you will run this script on your server, it would be nice if you posted the IP so I can check the functionality. 