This is a quick paste of the TDLServerOptions.txt included with build 006. More will be elaborated in the future.

adminpass=<whatever> : Sets the admin password for logging into your server in-game. BE SURE TO SET THIS OPTION OR YOUR SERVER CAN BE EASILY GRIEFED.

: Sets the admin password for logging into your server in-game. listen : listen server. implies default options for listen server.

: listen server. implies default options for listen server. dedicated : dedicated server. implies default options for dedicated server.

: dedicated server. implies default options for dedicated server. debug : enables debug logging

: enables debug logging maxplayers=x : set max players allowed in the server to x.

: set max players allowed in the server to x. gamemode=<mode> : set the gamemode to the mode specified solo: max_players = 1. Does not broadcast to server lists, silent welcome banner protected : does not broadcast, otherwise operates normally public : broadcasts to server lists, operates normally

: set the gamemode to the mode specified nogui : hides the gui (which does not exist yet :)

: hides the gui (which does not exist yet :) hideall : hides the console, implies --nogui (invisible server, intended to be used by tdl.exe)

: hides the console, implies --nogui (invisible server, intended to be used by tdl.exe) servername=<name> : sets the publicly advertised name of the server to the value specified, put in quotes to have spaces in your password

: sets the publicly advertised name of the server to the value specified, put in quotes to have spaces in your password password=<password> : sets the password required for people joining the server

: sets the password required for people joining the server ignore : The command arg gets ignored.

: The command arg gets ignored. filepath <full path to a directory> : Set where TDL data (worlds) get saved. You can also set the environment variable TDL_DATA with the same effect. This command line arg is also available for TDL.exe and is passed to spawned servers (e.g. Solo Mode)

So, if you want to run an online dedicated server named "yournamehere" with a maximum of 8 players, you would call TDLServerMain as follows:

TDLServerMain.exe --dedicated --maxplayers=8 --gamemode=public --servername=yournamehere --adminpass=password

Launching Server from CMD on Windows [ edit | edit source ]

Hit the Windows Key + R to open a Run Dialog Box. Type cmd into the box and press enter. Navigate to your TDL installation, usually in C:\Sandsweptstudios\The Dead Linger\ by typing cd c:\sandsweptstudios\The Dead Linger

Execute the TDLServermain.exe using the options listed above.

Creating a TDL Server Shortcut [ edit | edit source ]

Open up an Explorer window. Navigate to the TDL installation. Right click on TDLServermain.exe, click on Send To, click on Desktop. Navigate to your Desktop. Right click on the shortcut you just created and click on Properties. In the Target box, click outside of the second quotation mark. Type your server option. Your final text in the Target box should be something like "C:\Sandswept Studios\The Dead Linger Alpha\TDLServerMain.exe" --dedicated --maxplayers=8 --gamemode=public --servername=yournamehere

Please note the placement of the quotation marks.

Server Commands [ edit | edit source ]

/d_fps - displays current FPS

- displays current FPS /login <password> - log into the server as administrator. By default the password is default, unless specified in the config file

- log into the server as administrator. By default the password is default, unless specified in the config file /save - save progress in the server

- save progress in the server /stop - stop the server

- stop the server /setday TIME - sets the time of day where TIME is "dawn", "noon", "dusk", or "midnight"

You can also change the rate of time of day. An Admin can type /set_timerate <seconds>. The default is 7200 while /set_timerate 10 would make the 24 in-game hours go by in 10 seconds and /set_timerate 86400 would make the game 24 hours operate in real-time.

Automatically Restart Server [ edit | edit source ]

This method was created by forum member Mason and his awesome scripting skills. Original forum post.

Requirements

Windows OS: this program relies on batch scripts.

ava plugin: this program is written in java. if you don't have it installed in your computer, here you go Java download.

Instructions

download this zip file. unzip this file onto your "The Dead Linger Alpha" folder, found at C:\Sandswept Studios\ right click the "ServerStart - InitializationScript" file and click "edit" - go in it and set up your server accordingly, you can give your server a name, max player... etc. There are further instructions in the file. (optional) right click the "ServerStart - [START]" file and click "edit" - go in it and change how often you want this program to check up on your server, default is every 10 seconds. Further instructions in the file. you're set, simply double-click the ServerStart - [START]" batch file everytime you want to start your server. Enjoy! And your welcome.

Credit goes to xxswatelitexx, Duetschbag, and Sycho Analyze for their contributions towards the original script on which this program is based on.

Server GUI [ edit | edit source ]

Server Gui created by Avian. More info at the original post.