1 You can use `addvote` command to add custom vote commands to your server. For example, suppose you want your players to be able to vote whether they want bots or not. This can be achieved using the following code:
4 alias bots "minplayers 4"
7 alias nobots "minplayers 0"
11 Now players will be able to type `vcall bots` or `vcall nobots` which will start a vote to have those commands issued.
13 Here's example that allows voting common server types assuming your `server.cfg` doesn't force them:
16 alias vanilla "exec defaultXonotic.cfg; exec server.cfg; endmatch"
19 alias instagib "exec defaultXonotic.cfg; exec server.cfg; g_instagib 1; g_grappling_hook 1; endmatch"
22 alias overkill "exec defaultOverkill.cfg; exec server.cfg; endmatch"