Browse Source

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."
pull/5/head
Marvin Lehmann 8 years ago
parent
commit
9c3a552b85
  1. 2
      DontStarveTogether/cluster.ini
  2. 12
      DontStarveTogether/server.ini

2
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

12
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
[STEAM]
authentication_port = 8768
master_server_port = 27018
Loading…
Cancel
Save