#!/bin/bash readonly ROOT=~/zandronumDS/ readonly CORE_LOCATION="$ROOT/core/" readonly MAPS_LOCATION="$ROOT/pwads/" readonly CONFIG_FILE="$ROOT/config/server.cfg" readonly LAUNCH_OPTIONS=(-host -useip 0.0.0.0 -port 10666 -iwad doom2.wad +exec "$CONFIG_FILE" +cooperative 1 +masterhostname master.zandronum.com:15300) ## function launch() { cd "$CORE_LOCATION" ./zandronum-server \ "${LAUNCH_OPTIONS[@]}" \ -file "file" "file" "file" } launch