Xonotic Forums
autoexec file for single-player/own-server setting - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Community (https://forums.xonotic.org/forumdisplay.php?fid=6)
+--- Forum: Xonotic - General (https://forums.xonotic.org/forumdisplay.php?fid=18)
+--- Thread: autoexec file for single-player/own-server setting (/showthread.php?tid=10063)



autoexec file for single-player/own-server setting - ivyharden - 09-30-2025

Hello,
Can I create a text file to describe the rules, bot numbers, list of maps, etc., for execution? I'm not a very skilled player, and there are few servers with people playing in my local area. On overseas servers, I really struggle, and I’m tired of having to choose the rules every time.


RE: autoexec file for single-player/own-server setting - MxCraven - 10-01-2025

Yes, you can edit the server config that's provided by the game and `exec server.cfg` which will set all those rules locally. Add `exec server.cfg` to an `autoexec.cfg` to have it run at startup.

You can find where the config files are: https://xonotic.org/faq/#config