Posts by JDemiDawg

    DESCRIPTION:

    Running vanilla Terraria server using a Docker Compose in Portainer. Tshock hasn't quite caught up with current Terraria version but this Docker can switch to Tshock.


    RESOURCES:

    Docker: https://hub.docker.com/r/beardedio/terraria

    OMV 5 + Portainer

    Docker example


    PREREQUISITE:

    A debian server running Portainer.


    STEPS:

    • Run Terraria server through Portainer with a Docker Compose:
    • If you don't know how to setup the directories and launch the Docker watch more videos from Techno Dad Life
    • Change to version: '2' for portainer
    • You'll have to generate a world on your PC using terrariaserver.exe then copy it over to your config(appdata) folder.
    • You might have to reset permissions on your config(appdata) folder. Reset permissions is an omv-extras plugin.
    • Ran into bug (version 1.4.0.5) where Terraria server ignores things in serverconfig.txt like password. Fix:
    1. Navigated inside Portainer -> Containers -> terraria -> Attach.
    2. Then type 'help' to see terraria server commands.
    3. type 'password mypassword' to set the password
    4. Note: this password will be lost next time your restart the Terraria server
    5. Detach

    MANAGE SERVER:

    To be able to kick, ban, and change the server settings while it's running you need to be able to access the Terraria server console. There are a couple ways to do this. You can connect to your OMV serve through Putty and type 'sudo docker attach name_of_your_terraria_docker' and then type 'help' to see a list of commands. Then to detach type Ctrl-p Ctrl-q.


    An easier way to do this is through Portainer:

    1. Navigated inside Portainer -> Containers -> terraria -> Attach.
    2. Then type 'help' to see terraria server commands.
    3. When done click Detach button