Talk:Server

Max players in a server
Isn't the max players something like 6, and the article has been written to follow "local style="font-family: Matisse ITC; font-size;12px;">Ju ze  22:53, 25 May 2011 (UTC)

List of commands
Are there any commands like kick, ban, listusers, etc? --112.210.112.233 23:10, 31 May 2011 (UTC)

Troubleshooting link
Can there be a trouble shooting link on this page for people having problems with hosting servers?

Possible bug
There is a bug where when the sever command "exit" is executed the server restarts.


 * This isn't a bug. I think you started the server using start-server.bat, which includes an instruction to restart the server in case it crashes. --114.76.17.147 01:33, 19 December 2011 (UTC)

Logging server chat
Is there a way to log the chat (to a text file or something) that goes on in your dedicated server?


 * Yes. you can edit the .bat and add something to the end of the line containing 'TerrariaServer.exe -config ...'.
 * if you add ' > log.txt' the console will write to the specified file instead of the console window.
 * HOWEVER this will cause you to see nothing on the console window anymore. instead you have to open the log file everytime you want to check what's going on.
 * 82.192.251.143 13:21, 18 July 2015 (UTC)


 * On Linux you can use 'TerrariaServer -config ... | tee logfile.txt', this will output to the console as well as to the log file.
 * 82.7.191.68 17:17, 12 August 2020 (UTC)

downloading
how for to downloading into single player map? work i have done must be saved prior to destruction

Linux file paths
The Linux Notes section should be updated or the config file section should be updated to let people know that on a Linux server the config file uses local file name conventions (not Windows ones). 82.7.191.68 17:21, 12 August 2020 (UTC)

Fixed download link
It would be very nice if you provided a download link at a fixed location for the latest server. In this way I can automate the download, unziping, and installation of a new server when the old one stops working. I do this for my kids and lately with bugs, the server has changed a few times in a short amount of time. Giving them a Linux script that automates the process would be nicer than having to wait for "dad to get home".


 * Actually, a kind-of fixed location is the original source of those download links – https://terraria.org. It would be more sensible to fetch the link to the latest server from there, given it should always be up-to-date there (whereas here on the wiki, it will inevitably take some time until someone adds it). On the website, there is a "PC Dedicated Server" link in the footer. You could use something like the following to extract the download path:
 * This is just to give you a general idea. Depending on your system, you might need to use sed or something else if the grep -P option is not available.
 * --Rye Greenwood (talk) 11:58, 2 April 2021 (UTC)
 * --Rye Greenwood (talk) 11:58, 2 April 2021 (UTC)