From: Martin Taibr Date: Sun, 29 Mar 2020 09:49:10 +0000 (+0200) Subject: make dedicated server quit when no config found X-Git-Tag: xonotic-v0.8.5~1043^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d737ca20aaa9b016ecf67bf0cd6aa17b9b4553cf;p=xonotic%2Fxonotic-data.pk3dir.git make dedicated server quit when no config found --- diff --git a/server.cfg b/server.cfg index 7b5855f1e..8862efcc0 100644 --- a/server.cfg +++ b/server.cfg @@ -1,8 +1,16 @@ echo -echo You have not written any server.cfg file yet. -echo The server will therefore run at default settings. +echo ^1You have started a dedicated server but have not created +echo ^1any server.cfg in your config directory. echo -echo For information on how to set up a dedicated server, -echo look at the files in the server/ subdirectory of your -echo Xonotic install. +echo ^1If you are seeing this when just trying to play Xonotic +echo ^1(not host a server), try the other executables. echo +echo ^1For information on how to set up a dedicated server, +echo ^1look at the files in the server/ subdirectory of your +echo ^1Xonotic install. +echo +echo ^1Quitting in 5 seconds. +echo + +// see https://gitlab.com/xonotic/xonotic/issues/184 +defer 5 quit