From 9c3a552b85826345f0a2e4dc8c46d0f04c2fb5f4 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Sun, 20 Nov 2016 23:30:16 +0100 Subject: [PATCH] Set ip and ports in config They aren't longer set as startup parameters because setting them in configs is preferred. bind_ip: "Set this to 127.0.0.1 if all of your servers in your cluster are on the same machine, or 0.0.0.0 if the servers in your cluster are on different machines." --- DontStarveTogether/cluster.ini | 2 +- DontStarveTogether/server.ini | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/DontStarveTogether/cluster.ini b/DontStarveTogether/cluster.ini index 0842357..69c02e0 100644 --- a/DontStarveTogether/cluster.ini +++ b/DontStarveTogether/cluster.ini @@ -1,5 +1,4 @@ # cluster.ini (LGSM 161118) - [GAMEPLAY] game_mode = survival max_players = 6 @@ -23,6 +22,7 @@ tick_rate = 15 [SHARD] shard_enabled = USESHARDING +bind_ip = 127.0.0.1 master_ip = 127.0.0.1 master_port = 10888 cluster_key = CLUSTERKEY diff --git a/DontStarveTogether/server.ini b/DontStarveTogether/server.ini index 4ac2236..69c2b15 100644 --- a/DontStarveTogether/server.ini +++ b/DontStarveTogether/server.ini @@ -1,8 +1,6 @@ # server.ini (LGSM 161118) -# Settings that will be set by start parameters are commented out. - -# [NETWORK] -# server_port = 11000 +[NETWORK] +server_port = 11000 [SHARD] @@ -10,6 +8,6 @@ is_master = ISMASTER name = SHARDNAME -# [STEAM] -# master_server_port = 27018 -# authentication_port = 8768 \ No newline at end of file +[STEAM] +authentication_port = 8768 +master_server_port = 27018 \ No newline at end of file