Terraria Tutorials

TShock Commands and Permissions for Your Terraria Server

Essential TShock admin commands, permission groups, and region protection for managing your Terraria server.

Last updated: March 13, 2026

4.9

491+ Satisfied Customers

This guide covers the commands and permissions you’ll use most when running a TShock server. If you haven’t installed TShock yet, start with our installation guide.

All commands are typed in the in-game chat. You must be logged into an account with the right permissions to use admin commands.

Player Management

CommandWhat It Does
/whoList all connected players
/kick <player> [reason]Remove a player (they can rejoin)
/ban add <player> [reason]Permanently ban a player
/ban del <player>Unban a player
/ban listView all bans
/mute <player>Mute a player in chat
/unmute <player>Unmute a player

User Accounts

CommandWhat It Does
/user add <name> <password> <group>Create an account in a specific group
/user group <name> <group>Move a player to a different group
/user password <name> <newpass>Reset someone’s password
/register <password>Player self-registers (if allowed)
/login <name> <password>Log into an account

Teleportation and Warps

CommandWhat It Does
/tp <player>Teleport to a player
/tphere <player>Pull a player to you
/spawnTeleport to world spawn
/homeTeleport to your spawn point
/warp add <name>Create a warp at your position
/warp <name>Teleport to a warp
/warp del <name>Delete a warp
/warp listList all warps

Warps are useful for setting up quick travel to hubs, boss arenas, farms, or NPC towns. Create them at locations your players visit often.

World Management

CommandWhat It Does
/time set <day|night>Change time of day
/saveForce a world save
/bloodmoonToggle a blood moon
/eclipseToggle a solar eclipse
/spawnboss <boss>Spawn a boss (eye, eow, skeletron, wof, etc.)
/butcherKill all enemies
/invade <type>Start an invasion (goblin, pirate, frost, martian)
/broadcast <message>Send a server-wide announcement

Region Protection

Regions let you protect areas from modification. Only players or groups you allow can build inside a protected region.

  1. Stand at one corner of the area you want to protect
  2. Type /region set 1
  3. Walk to the opposite corner
  4. Type /region set 2
  5. Create the region: /region define <name>

Now manage access:

CommandWhat It Does
/region allow <player> <region>Let a player build in the region
/region remove <player> <region>Revoke a player’s access
/region allowg <group> <region>Let an entire group build in the region
/region delete <name>Remove a region
/region listList all regions

Setting Up Permission Groups

TShock uses a group-based permission system. Each group has a set of permissions, and players are assigned to groups. Groups can inherit permissions from a parent group, so you build a hierarchy instead of repeating permissions at every level.

Default Groups

TShock creates three groups automatically:

GroupWho It’s ForKey Permissions
guestUnregistered playersBasic building, chat, registration
defaultRegistered playersInherits guest + warps, password changes
superadminFull accessAll permissions (*)

The owner account you created during setup is in the superadmin group.

Creating a Group Hierarchy

For most servers, a three-tier setup works well: default (registered players), moderator (trusted players), and admin (server managers).

Create a moderator group:

/group add moderator default tshock.admin.kick,tshock.admin.mute,tshock.tp.self,tshock.tp.others,tshock.admin.warp

Create an admin group that inherits moderator permissions:

/group add admin moderator tshock.admin.ban,tshock.admin.region,tshock.world.editspawn,tshock.world.time,tshock.npc.spawnboss,tshock.item.spawn

The format is /group add <name> <parent> <permissions>. Permissions are comma-separated with no spaces.

Assign a player to a group:

/user group playername moderator

Useful Permission Nodes

PermissionWhat It Allows
tshock.admin.kickKick players
tshock.admin.banBan and unban players
tshock.admin.muteMute players
tshock.admin.warpCreate and delete warps
tshock.admin.regionCreate and manage regions
tshock.tp.selfTeleport to players and coordinates
tshock.tp.othersTeleport other players
tshock.warpUse warps (give this to default)
tshock.world.editspawnModify blocks in the spawn area
tshock.world.timeChange time
tshock.npc.spawnbossSpawn bosses
tshock.item.spawnSpawn items for yourself
tshock.item.giveGive items to other players

To deny an inherited permission, prefix it with !. For example, if admins inherit tshock.item.spawn but you don’t want moderators to have it, that’s already handled by only adding it to the admin group. But if you need to deny something a parent grants, use !tshock.item.spawn.

Locking Down Your Server

For public servers or servers where you don’t trust every player, these settings in tshock/config.json are worth enabling. Edit the file through your File Manager.

Require login to play: Set RequireLogin to true. Players must /register and /login before they can do anything. Combined with disabling guest building permissions, this locks the server to registered users.

Server-Side Characters: Edit tshock/sscconfig.json and set Enabled to true. This stores character inventories, health, and mana on the server instead of each player’s PC. Players can’t bring in cheated items or duplicated stacks. You can configure starting inventory and stats in the same file. Restart the server after changing this.

Server password: Set ServerPassword to a password string. Players must enter it when connecting. Simple but effective for private groups.

Quick Reference

The most common admin tasks in one place:

TaskCommands
Ban a griefer/ban add PlayerName "reason"
Kick with warning/kick PlayerName "final warning"
Promote a player/user group PlayerName moderator
Create a warp hubStand at location, /warp add hub
Protect a build/region set 1 at corner, /region set 2 at opposite corner, /region define buildname
Allow a friend to edit a region/region allow FriendName buildname
Force save the world/save
Reload config changes/reload

For the full command list, type /help in-game or /help <command> for details on a specific command.

Frequently Asked Questions

Create an admin group with the permissions you want, then assign the player to it. Use /group add admin [permissions] to create the group, then /user group playername admin to assign. Don't give everyone the owner group - create specific groups with only the permissions they need.

Use TShock's region system. Stand at one corner and type /region set 1, walk to the opposite corner and type /region set 2, then type /region define areaname to create it. Only players you specifically allow with /region allow can build inside.

For public servers, yes. SSC stores character data on the server instead of each player's PC, which prevents item duplication and cheated inventories. Enable it in tshock/sscconfig.json and restart. For private servers with trusted friends, it's optional.