OSX Server

Launching a dedicated OSX server is pretty much the same thing as the Windows Server except the launch script.

Launch Script
Create a new file named launch_7daytodie with the following content : # # /PathTo7DaysToDie.app/7DaysToDie.app/Contents/MacOS/7\ Days\ To\ Die -quit -batchmode -nographics -port=25000 -maxplayers=8 -gamemode=0 -difficulty=3 -world="Navezgane" -name="My Game" -dedicated & sleep 20 echo "Type shutdown to stop the server." telnet localhost 25003 Don't forget to replace /PathTo7DaysToDie.app with the actual path of 7DaysToDie .app file. After that you just need to make the file executable. Normally a chmod +x would do the trick.
 * 1) ! /usr/bin/env bash
 * 1) Starts a dedicated server
 * 1) -quit, -batchmode, -nographics: Unity commands
 * 2) -ip=X                         : Server listens only on this IP
 * 3) -port=X                       : Server listens on port X (also needs ports X+1, X+2)
 * 4) -gamemode=0|1                 : 0=coop (default), 1=pvp. So far the only difference is that players don't show up on map in pvp
 * 5) -difficulty=X                 : 1 <= X <= 10. The spawning of zombie waves stop at day X.
 * 6) -world=X                      : Loads world X.
 * 7) -name=X                       : The name of the (save) game is X.
 * 8) -dedicated                    : Has to be the last option to start the dedicated server.
 * 1) wait until game started
 * 1) connect to the service interface. use 'shutdown' to stop the server