Skip to content
Terraria
Terraria 100% localFreeOpen access

Terraria launch script generator

Generate the launch script (start-terraria.sh / start-terraria.bat) for your Terraria server: -config, -world, -port, -players, -pass, -secure, -noupnp, -steam. Free, in your browser.

Last updated: 10/9/2026

100% local processing — saved in your browser.

Documentation
Files
Network
Steam
Launch
start-terraria.sh
Live preview — automatically saved in your browser.
#!/bin/bash
# Generated by games-tools.game-rank.com
cd "$(dirname "$0")"
tmux new-session -d -s terraria './TerrariaServer -config serverconfig.txt -port 7777 -players 8 -secure -noupnp'
# tmux attach -t terraria
Server installation guideNo server yet? Install it locally or on a VPS / dedicated server, ports and firewall included.

How to use Terraria launch script generator?

A Terraria server is started with command-line parameters. This tool builds a readable launch script (start-terraria.sh / start-terraria.bat), one parameter per line, ready to save.

  1. Pick your system (Linux or Windows), then enter name, ports and player count.

  2. Replace the example passwords with long, unique ones.

  3. Download start-terraria.sh / start-terraria.bat and put it in <server-dir>/.

  4. On Linux make it executable (chmod +x) and run it; on Windows double-click it.

Read the full documentation →

Frequently asked questions

Terraria
TerrariaOpen access
Generate serverconfig.txt for your Terraria server: world, autocreate, difficulty, maxplayers, port, password, secure, language. Free, 100% in your browser.
ConfigurationOpen
Documentation