Disabling admin vote commands?

Disabling admin vote commands?

« posted: Jul 17, 2019, 06:17 AM »
I was testing the server with a few friends, and they noticed they could vote each other admin. Is there a way to disable this? I've looking at it on the BIS forums, and it's not really making a lot of sense to me. Can anyone help?

Re: Disabling admin vote commands?

« Reply #1 posted: Aug 14, 2019, 02:12 AM »
in your server config you need to set allowedVoteCmds to this:

Code: [Select]
allowedVoteCmds[] = // Voting commands allowed to players
// {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
{"admin", false, false}, // vote admin
{"kick", false, false}, // vote kick
{"missions", false, false}, // mission change
{"mission", false, false}, // mission selection
{"restart", false, false}, // mission restart
{"reassign", false, false} // mission restart with roles unassigned

The above will disable all vote options.