diff --git a/utils/getLaunchParamsByMod.sh b/utils/getLaunchParamsByMod.sh new file mode 100644 index 0000000..44772f6 --- /dev/null +++ b/utils/getLaunchParamsByMod.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +case "$1" in + "valve") + echo "-game valve -debug +ip 0.0.0.0 -port 27016 -maxplayers 10 +map crossfire" + ;; + "cstrike") + echo "-game cstrike -debug +ip 0.0.0.0 -port 27016 -maxplayers 10 +map de_dust2" + ;; + "czero") + echo "-game valve -debug +ip 0.0.0.0 -port 27016 -maxplayers 10 +map de_dust2_cz" + ;; + *) + echo "Invalid argument \"$1\"" + exit 1 + ;; +esac \ No newline at end of file