X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.wiki.git;a=blobdiff_plain;f=Custom-server-votes.md;fp=Custom-server-votes.md;h=9dbff833113e49d7ce10ded1d3ced6439a4d0433;hp=45a6b047a4365987c7070c0b9d86bbfc31a8a40d;hb=0a033abcafe9b53368d2645ddece371a10a38ae6;hpb=e8d8d3ff0cfe2d11c308a7563c1f56f8b208a00a diff --git a/Custom-server-votes.md b/Custom-server-votes.md index 45a6b04..9dbff83 100644 --- a/Custom-server-votes.md +++ b/Custom-server-votes.md @@ -12,15 +12,15 @@ Now players will be able to type `vcall bots` or `vcall nobots` which will start You can prefix the contents of an alias with `settemp` to make it be valid only for the current game. For example `alias nobots "settemp minplayers 0"`. -Here's example that allows voting common server types assuming your `server.cfg` doesn't force them: +Here's example that allows voting common server types assuming your `server.cfg` doesn't force them (you get infinite recursion if it does): ``` -alias vanilla "exec defaultXonotic.cfg; exec server.cfg; endmatch" +alias vanilla "exec ruleset-xonotic.cfg; exec server.cfg; endmatch" addvote vanilla -alias instagib "exec defaultXonotic.cfg; exec server.cfg; g_instagib 1; g_grappling_hook 1; endmatch" +alias instagib "exec ruleset-xonotic.cfg; exec server.cfg; g_instagib 1; g_grappling_hook 1; endmatch" addvote instagib -alias overkill "exec defaultOverkill.cfg; exec server.cfg; endmatch" +alias overkill "exec ruleset-overkill.cfg; exec server.cfg; endmatch" addvote overkill -``` \ No newline at end of file +```