-
Notifications
You must be signed in to change notification settings - Fork 49
Server Configuration
The server can be pre-configured with certain settings such as port, world file to use, and password so that you do not need to specify them at run time or interactively with the server. You can however specify them on the command line instead. I won't go into a whole lot of detail on this subject here, because it's mostly done for us already on the official Terraria Wiki. So refer to that page to actually configure your server. Here, you will learn about how to run the server with the configuration file, and it's mainly here to note any differences or additions to the config file from the official one.
You can download the default TDSM config file.
There are a a few options. You may use a shortcut, use the command line, or use a batch script. The main thing you should remember is to launch the server like this.
tdsm.exe -config <config file>
Replace <config file> with the name of an actual file, for example: tdsm.exe -config serverconfig.txt
Requirement: Mono is required to run the server on Linux. Please see the Mono page.
On linux, it's basically the same as on windows. You only need to add mono to the beginning, before tdsm.exe. For example: mono tdsm.exe -config <config file>
| Property | Description | Default | Possible Values |
|---|---|---|---|
| usewhitelist | Enable the whitelist. The whitelist is stored in whitelist.txt | false | true,false |
| vanilla-linux | true to enforce the core to only run as a vanilla server under linux | false | true,false |
| heartbeat | Allows communication to the TDSM server | true | true,false |
| server-list | true to show on the server list | true | true,false |
| server-list-name | Name on server list | TDSM Server | Text String |
| server-list-desc | Description to use on the server list | This is an example of the description for use in the TDSM Server List.\n\nHello World! | Text String |
| rcon-bind-address | Address for the Remote Console server to bind to | 127.0.0.1:7023 | IP:PORT |
| rcon-hash-nonce | Remote console random hashing key, set to something completely random. This is used to hash your user/passwords so if you change it will invalidate all logins. | Random Text String | |
| web-server-bind-address | The address that the web server should listen on, to disable simply comment the line out. If you change the port please ensure you change the META TAG tdsm:port in /WebInterface/Files/index.html | 127.0.0.1:8448 | IP:PORT |
| web-server-serve-files | Set to false if you wish to use another application to serve HTML files (such as nginx or apache) | true | true,false |
| web-server-provider | The provider/your server name shown to the web user. | TDSM Rebind Server Host | Text String |