Repository navigation
Terraria Tshock
This guide covers the terraria.tshock module in AlphaGSM.
terraria.tshock is currently PASSED on the documented Ubuntu 24.04 Linux
baseline. The checked-in GitHub validation path for this server is
Docker-first through the shared steamcmd-linux runtime image with the
required .NET runtimes already baked in.
screen-
dotneton process-backed hosts - Python packages from
requirements.txt
Create the server:
alphagsm mytshock create terraria.tshockRun setup:
alphagsm mytshock setupCreate its first world and start it:
alphagsm mytshock start --autocreateCheck it:
alphagsm mytshock statusStop it:
alphagsm mytshock stopSetup configures:
- the game port (default 7777)
- the install directory
- downloads and extracts the server archive
start --autocreate creates the configured world only when it is missing.
If the world already exists, the option does nothing and startup behaves like
plain start. Use alphagsm mytshock connect to answer the native console prompts.
To start over, stop the server and run alphagsm mytshock reset-world.
It lists the world data to delete and asks for confirmation; -Y bypasses
that prompt. wipe is an alias for the same operation.
See world creation and reset for settings, supported paths, and the full lifecycle.
alphagsm mytshock update
alphagsm mytshock backup- Module name:
terraria.tshock - Default port: 7777
-
Executable:
TShock.Server -
Location:
<install_dir>/TShock.Server - Engine: Custom
Current upstream Linux releases ship a native TShock.Server apphost inside a
release zip that contains a nested tar archive. AlphaGSM unwraps that nested
archive during setup. The shared steamcmd-linux Docker runtime image also
includes the required .NET 9 runtime for the current TShock build.
- Config file: See game module source
- Template: See server-templates/terraria-tshock/ if available
- Query/info protocol: TCP on the configured game port
- Map directory: Check game documentation
-
Mod directory:
ServerPlugins/ - Workshop support: No
TShock plugin management is separate from vanilla Terraria and uses its own AlphaGSM cache/state root.
- AlphaGSM stores TShock plugin cache/state under
.alphagsm/mods/terraria-tshock/so it does not collide with other Terraria variants. - Current plugin source support is
manifest,url, andmoddb. -
manifestuses AlphaGSM's checked-in TShock plugin registry. The built-in families currently includebanguard,smartregions,omni,perplayerloot,autoteam,facommands,timeranks,ranksystem,qol,replenisher,bagger, andtslootchest. -
urlaccepts direct plugin.dlldownloads and.zipplugin packages, including release zips that expose a bare plugin root instead of a prebuiltServerPlugins/directory. -
moddbaccepts canonical Mod DB download or addon page URLs when the resolved payload contains TShock plugin files underServerPlugins/,tshock/, or as a bare plugin-root archive. - AlphaGSM records installed plugin files per entry so
mod cleanupremoves only tracked plugins and leaves unrelated files alone.
Examples:
alphagsm mytshock mod add manifest banguard
alphagsm mytshock mod add manifest smartregions
alphagsm mytshock mod add manifest perplayerloot
alphagsm mytshock mod add manifest timeranks
alphagsm mytshock mod add manifest tslootchest
alphagsm mytshock mod apply
alphagsm mytshock mod cleanupalphagsm mytshock mod add url https://plugins.example.invalid/ExamplePlugin.dll
alphagsm mytshock mod apply
alphagsm mytshock mod cleanupalphagsm mytshock mod add moddb https://www.moddb.com/mods/example/downloads/example-plugin-pack
alphagsm mytshock mod apply
alphagsm mytshock mod cleanup