Welcome to the PufferPanel community forums! Please visit our discord for support: https://discord.gg/v8dz49e

Terraria TShock Template

  • Due to TShock (or Terraria itself, i don't know) coloring the console output and PufferPanel ignoring these color sequences the output will look somewhat like the following, but it still works

    Starting server
    TerrariaAPI Version: (Protocol v1.3.5.3 (194), OTAPI
    Port overridden by startup argument. Set to 7777
    Startup parameter overrode maximum player slot configuration value.
    TShock (Mintaka) now running.
    AutoSave Enabled
    Backups Disabled
    Welcome to TShock for Terraria. Initialization complete.
    [Server API] Info Plugin TShock v4.3.25.0 (by The TShock Team) initiated.
    [Server API] Info Plugin House Regions v1.2.2.0 (by CoderCow) initiated.
    [Server API] Info Plugin Protector v1.6.5.0 (by CoderCow) initiated.
    Terraria Server v1.3.5.3

    Make sure that mono-sgen is available on the node you want to run this on
    An installation guide for mono can be found here

    Menus are skipped through the use of command line parameters to supply necessary information, this means that you will not be able to select if you want Corrupt or Crimson as there is no command line parameter for that, you can manually generate and upload a world file though
    The same goes for the choice between Normal and Expert mode
    A server password can be set in the file tshock/config.json which gets created during the fist start

      "pufferd": {
        "type": "terraria",
        "display": "Terraria - TShock",
        "install": {
          "commands": [
              "commands": [
                "curl -L -o tshock.zip https://github.com/Pryaxis/TShock/releases/download/v${version}/tshock_${version}.zip",
                "unzip ${rootdir}/tshock.zip",
                "rm ${rootdir}/tshock.zip",
                "chmod +x ${rootdir}/TerrariaServer.exe"
              "type": "command"
        "run": {
          "stop": "exit",
          "pre": [],
          "post": [],
          "arguments": [
          "program": "mono-sgen"
        "environment": {
          "type": "tty"
        "data": {
          "port": {
            "value": "7777",
            "required": true,
            "desc": "What port to bind the server to",
            "display": "Port",
            "internal": false
          "maxplayers": {
            "value": "20",
            "required": true,
            "desc": "Max number of players",
            "display": "Max Players",
            "internal": false
          "world": {
            "value": "world.wld",
            "required": true,
            "desc": "The world file",
            "display": "World",
            "internal": false
          "worldsize": {
            "value": "2",
            "required": true,
            "desc": "The world size (1 = small, 2 = medium, 3 = large)",
            "display": "World Size",
            "internal": false
          "version": {
            "value": "4.3.25",
            "required": true,
            "desc": "Server Version",
            "display": "TShock Version (Set this to the latest TShock version)",
            "internal": false

Log in to reply