![]() ![]() You can also use a prexisting world like from your Windows PC. Be sure that the world you specified exists in the right place (the path is relative to the server executable, not the world path). The space in the name is likely causing problems and you should choose a path with no spaces. The default world path includes the folder "My Games". Write (something like) the following into the file and save it:ĭo not use the default location for world files.This is the file used by the Terraria server, not by tShock. To start the server automatically with a script, we need some config files to specify these settings. Usually the server asks you at every start for some settings (world, max players etc.). Setting up the server automatically at boot You can exit from the server with ctrl-C if you don't want to generate and load a world. If you don't want to use the default file locations (for worlds, logs etc.) either wait with starting the server or delete the generated files again afterwards. Note that this will generate some directories and files. You should now already be able to start the server with mono TerrariaServer.exe. unzip tshock-4.3.8-rel.zip (filename will change with version, change accordingly).If you downloaded the file with another machine use scp or FileZilla to transfer the file to your Pi. If you used wget from the ~ directory, you can skip this step. Put the downloaded file in the ~ directory of your Pi.This will download the zip file into the current directory. The easiest way to do this is to find the download link (the one that ends with ".zip"), copy it to the clipboard and then do wget Of course you should supply the full link with the correct version. We want to download tShock (which includes the executable) from the tShock website onto the Pi.Install mono with sudo apt-get install mono-complete. Terraria with tShock is a Windows application and needs a little help from mono to run on Debian. Installing the Terraria server Installing mono This will allow players to connect to the server and you to log into your Pi even from outside your network. Log into your router (how this works depends on your router and home network setup) and forward the ports 22 (TCP for ssh) and 7777 (TCP/UDP for Terraria) to your Pi. Now we have a hostname that points to the Pi from outside but your router will probably reject incomming connections to it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |