This application expose Terraria/tShock things to user allowing control game server over web GUI
- Get nodejs with npm
- Clone this repo
npm install
npm run install-terraria-server
ornpm run install-tshock
- Review and make corrections to
config.js
andserver.cfg
, you may need to change default credentials (admin, 123456), set ports, world file, etc - You should place existsing
.wld
files inWorlds
directory or set configfileautocreate
directive to generate new world
- Type in terminal
npm start
- Open in web browser 127.0.0.1:7878
- Login credentials stored in
config.js
file inusers[]
array
- Terraria.org
- Terraria Server
- TShock
- TShock Releases
- Installing Tshock on Mac
- TShock command line parameters
Setup .net runtime:
sudo apt install mono-runtime -y
Crearte shell script server.sh
:
#!/bin/sh
mono ./TerrariaServer/1411/Linux/TerrariaServer.exe -config ./server.cfg
Add execute privilegies to script:
chmod +x ./server.sh
Shell script server.sh
#!/bin/sh
mono ./TerrariaServer/1405/Mac/Terraria\ Server.app/Contents/MacOS/TerrariaServer.exe -config ./server.cfg
Create runnable .bat
file with next content:
TerrariaServer\1411\Windows\TerrariaServer.exe -config server.cfg
docker build -t terradmin .
docker run terradmin
- Separate dockers for terrAdmin and game server, resolve admin-server control