diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index ab84948..0e04b79 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -211,7 +211,7 @@ start_server() { server_directory="${BASE_DIR}/${server_name}" server_config="${server_directory}/serverconfig.xml" server_save_dir="${server_directory}/Saves/" - server_userdata_dir="${server_directory}/UserData" + server_userdata_dir="${server_directory}/UserData/" server_mods_dir="${server_directory}/Mods" prefix="7D2D" server_session_name="${prefix}-${server_name}" @@ -229,8 +229,8 @@ start_server() { server_port="$((PRIMARY_START_PORT_RANGE + $(("${server_id}" * 5))))" server_port="${SERVER_PORT:-$server_port}" - telnet_port="$((server_port + 1))" - allocs_port="$((server_port + 2))" + telnet_port="$((server_port + 2))" + allocs_port="$((server_port + 3))" telnet_port="${TELNET_PORT:-$telnet_port}" log "info" "Generating a few required directories in $(important "${server_directory}")"