Menu
 

TShock Setup - Terraria Wiki

Terraria: Advanced TShock Setup & Administration

TShock is the most advanced server API for Terraria, providing tools that the vanilla server simply cannot match. From granular permissions and regional protection to anti-cheat and custom plugin support, TShock is the standard for professional Terraria hosting.

1. Secure Installation

Ensure you download TShock from the Official GitHub. It requires .NET 6.0 Runtime to function on Windows or Linux.

2. Super Admin Setup

The first time you launch, TShock prints a Setup Code. join the server and type /setup [code] to claim ownership of the world.

3. Region Protection

Prevent griefing by defining Regions. Use /region define to create areas where only specific groups can build or mine.

User Management & Authentication

TShock allows you to create a persistent account system. This is essential for distinguishing between regular players and moderators.

  1. Register: /register [password] - Creates an account for your current character.
  2. Login: /login [password] - Authenticates the session.
  3. Add Admin: As the owner, use /user add [Name] [Pass] moderator to grant staff powers to others.

Managing Groups & Permissions

Permissions are the heart of TShock. You can create custom groups (e.g., VIP, Builder) and assign specific abilities:

Group Command Description
/group add [name] [parent]Creates a new group that inherits permissions from its parent.
/group addperm [group] [perm]Grants a specific permission (e.g., tshock.world.edit).
/group delperm [group] [perm]Revokes a permission from a group.
/user group [name] [group]Moves a player into a specific group.

Protecting Your World with Regions

Regions allow you to protect spawn points, arenas, or cities.

  • Step 1: Select boundaries by holding a block and typing /region set 1 (left click block) and /region set 2 (right click block).
  • Step 2: /region define [RegionName] - Saves the area.
  • Step 3: /region allow [RegionName] [PlayerName] - Grants building rights to a specific person in that region.

Popular TShock Plugins

Enhance your server functionality by adding .dll files to the ServerPlugins/ folder:

  • Server Side Characters (SSC): Forced players to use characters stored on the server, preventing them from bringing in cheated items from other worlds.
  • Crossplay: Allows Mobile and Console players to join the PC server!
  • WorldEdit: Massive terraforming tools via commands similar to Minecraft's WorldEdit.
  • Auto-Save: More frequent and reliable world saving hooks.

Anti-Grief Tip: By default, TShock limits the amount of damage a player can do in a single hit to prevent hackers from one-shotting bosses. You can adjust this in config.json under the MaxDamageThreshold setting.

Take total control of your world. Host your Terraria TShock server with Supercraft for instant 1.4.4+ support and high-performance NVMe storage.

Top