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
+```
**How to add a sound track to Xonotic?**
- Copy the track file to the `data/sound/cdtracks` folder
-- Add the name of the track (without the extension) at the end of the cvar `g_cdtracks_remaplist`, on the file `defaultXonotic.cfg`. Count all tracks and remember the position of the added one, this information will be used on the following step.
+- Add the name of the track (without the extension) at the end of the cvar `g_cdtracks_remaplist`, in the file `xonotic-common.cfg`. Count all tracks and remember the position of the added one, this information will be used on the following step.
- Open the file `<name of map>.mapinfo` (on `data/xonotic-maps.pk3dir/maps`) and add a line with the text `cd loop x`. This `x` should be the position of the track within the cvar `g_cdtracks_remaplist`.
**How to add a sound track to a non official map?**
- Copy the track to the folder `sound/cdtracks/` (inside the pk3 file)
- Open the file `<name of map>.mapinfo` and add a line with the text `cd loop <track filename>`
-
## Step 6: Adjusting config files
-The last thing we need to do is to create our console variable `g_helloworld` in configuration file. The best file for it would be `defaultXonotic.cfg`. Mutator variables start around line 423:
+The last thing we need to do is to create our console variable `g_helloworld` in a configuration file. The best file for it would be `mutators.cfg`:
set g_helloworld 0
MUTATOR_HOOKFUNCTION(helloworld, Damage_Calculate)
{
M_ARGV(4, float) *= 2;
- }
\ No newline at end of file
+ }