From Terraria Wiki
Jump to navigation Jump to search

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;">Juze User Juze sig icon.jpg 22:53, 25 May 2011 (UTC)

List of commands

Are there any commands like kick, ban, listusers, etc? -- 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? — Preceding unsigned comment added by at 01:42, 12 June 2011

Possible bug

There is a bug where when the sever command "exit" is executed the server restarts. — Preceding unsigned comment added by at 06:36, 24 June 2011

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. -- 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? — Preceding unsigned comment added by at 18:49, 25 April 2013

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. 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. 17:17, 12 August 2020 (UTC)


how for to downloading into single player map? work i have done must be saved prior to destruction — Preceding unsigned comment added by at 03:14, 28 March 2014

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). 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". — Preceding unsigned comment added by at 01:32, 2 April 2021 (UTC)

Actually, a kind-of fixed location is the original source of those download links – 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:
curl | grep -P -o "(?<=<a href=').+(?='>PC Dedicated Server)"
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)