255

Dedicated Server Quick Setup Guide - Mac OS X

Recommended Posts

If you prefer multiple terminal windows:

1. Comment/remove the following in run_dedicated_servers.sh:

#run_shared+=(-monitor_parent_process $$)

#"${run_shared[@]}" -shard Caves  | sed 's/^/Caves:  /' &
#"${run_shared[@]}" -shard Master | sed 's/^/Master: /'

2. Add the following code:

osascript <<END
tell application "Terminal"
    do script "cd \"`pwd`\";${run_shared[@]} -shard Master"
end tell
tell application "Terminal"
    do script "cd \"`pwd`\";${run_shared[@]} -shard Caves"
end tell
END

You'll now have a separate terminal window for Master & one for Caves.  Note: You must manually c_shutdown() all instances since Caves no longer monitors if Master is alive.

Share this post


Link to post
Share on other sites
syzygy    0

Thank you so much for this! My friends and I have been looking for a way to have a server up and running. Just a few questions:

1. Is there any way to have an existing, non-dedicated server world copied into my current dedicated server?

2. When I started the server, it started in Caves. How can I get an overworld spawn?

3. What are some ways my friends can join my server when I'm not around?

I may have more questions depending on if it goes well or not. Thanks in advance!

Share this post


Link to post
Share on other sites
ToNiO55    297

Hi @eight0

 

can you share your server_log.txt please?

 

/Documents/Klei/DoNotStarveTogether/MyDediServer/Master/server_log.txt

 

and

 

/Documents/Klei/DoNotStarveTogether/MyDediServer/Caves/server_log.txt

 

you can use this website for share your server_log.txt

 

http://pastebin.com/

Share this post


Link to post
Share on other sites
oceanwu0    1

if you wanna add mod to it and rewrite the script "dedicated_server_mods_setup.lua", delete "validate" in step 9, or the lua file will be refreshed and never take effect every time the server start.

orignial:

./steamcmd.sh +force_install_dir "$install_dir" +login anonymous +app_update 343050 validate +quit

after:

./steamcmd.sh +force_install_dir "$install_dir" +login anonymous +app_update 343050 +quit

 

  • Like 1

Share this post


Link to post
Share on other sites

Hi there, im having the same issue as @eight0. The directory for Mac os is wrong.  Following this path, you will stop at steamapps>common>Dont starve together dedicated servers > Nothing inside the folder except the application and version.txt. Even for DST game itself, the folder is empty. I have no idea where the workshop mods are saved in for mac

Does not exist

Edited by GiraffeOnCrackk

Share this post


Link to post
Share on other sites
GriffGlory    0

I am having problems with running the server itself it keeps saying:

Error: Missing /Users/(MacUser)/steamcmd directory!

and

/Users/(MacUser)/run_dedicated_servers.sh: line 21: cd: /Users/(MacUser)/steamcmd: No such file or directory

whenever i do step 11 and i can't figure out why

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now