diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index ded75c0..c40d40f 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -225,10 +225,12 @@ start_server() { local server_port server_port="$((PRIMARY_START_PORT_RANGE + server_id))" + server_port="${SERVER_PORT:-$server_port}" local telnet_port telnet_port="$(( TELNET_START_PORT_RANGE + server_id ))" + telnet_port="${TELNET_PORT:-$telnet_port}" log "info" "Generating a few required directories in $(important "${server_directory}")" mkdir -p "${server_save_dir}" mkdir -p "${server_userdata_dir}"