Use Termux for Terraria Server Usar Termux para Servidor de Terraria
How to install Como instalar
| Install git - Instalar git
apt upgrade -y && apt update
pkg install git
| Clonar repositorio - Clone repository
git clone https://github.com/krootca/termux-terraserver
| Instalar init.sh - Install init.sh
bash init.sh
| Instalar mono, para esto cambia el repositorio a Grimle - Install mono, for this change the repository for Grimle
termux-change-repo
| Ahora instale mono - Now install mono
apt upgrade -y && apt update
| Note for mono: when asking you install ssl press enter (default)
pkg install mono
| Ahora corra el servidor - Now run the server
mono --server -O=all ./1432/Linux/TerrariaServer.exe
apt upgrade -y && apt update
pkg install unzip
curl -O https://terraria.org/api/download/pc-dedicated-server/terraria-server-1432.zip
unzip terraria-server-1432.zip
rm terraria-server-1432.zip
chmod +x 1432/Linux/TerrariaS*
| Note for termux - Change Repo for termux | Chose Grimle for main repository and ok
termux-change-repo
apt upgrade -y && apt update
| Note for mono: when asking you install ssl press enter (default)
pkg install mono
| After that the libssl not found more.
| When install all you can use mono for run TerrariaServer.exe. But you need to delete some files for fix errors when mono run TerrariaServer.exe, that error is return Nothing.
| delete files
rm 1432/Linux/System*
rm 1432/Linux/Mono*
rm 1432/Linux/monoconfig
rm 1432/Linux/mscorelib.dll
| So, that's be right, now you can run the server
cd 1432/Linux
mono --server -O=all ./TerrariaServer.exe
| You can create new world, delete world or chose world. Etc... But if you don't want select the world, or create a new world, set seed, size, etc... You can use a config file.
| Create config fil in home: myconfig.txt
world=/data/data/com.termux/files/home/world.wld
autocreate=1
worldname=MyWorld
worldpath=/data/data/com.termux/files/home
or more specific
mono --server -O=all ./TerrariaServer.exe -config $PWD/myconfig.txt
mono --server -O=all ./TerrariaServer.exe -config /data/data/com.termux/files/home/myconfig.txt