Skip to main content

Protect a TShock spawn with a bounded region

Use a TShock region to protect a defined spawn area while leaving the rest of the world available for building. This guide requires TShock, an account with region-management permission and an existing world backup. Native Terraria without TShock does not provide these commands.

Plan a small boundary

Walk around the spawn and decide which tiles need protection. Include the actual entrance, floor and walls, but avoid enclosing an unrelated player base. Write down a unique region name such as spawn_lobby and keep a screenshot or coordinates showing the intended corners.

Check your installed TShock version and run /region help. The official documentation includes older examples; the installed command help is your reference if a subcommand differs. Region-management commands affect access rules, so use a maintenance window if players are building nearby.

Create and protect the rectangle

  1. Run /region clear to discard any unfinished corner selection.
  2. Run /region set 1 and touch or edit the tile at the first intended corner using the selection method supported by TShock.
  3. Run /region set 2 and select the diagonally opposite corner. Check the vertical extent as well as the width.
  4. Run /region define spawn_lobby using your chosen name.
  5. Run /region protect spawn_lobby true and inspect /region info spawn_lobby.
  6. If a named builder needs access, use /region allow PLAYER spawn_lobby with their TShock account name. Do not grant a broad bypass permission just to edit this area.

Verify with a normal player

Use an ordinary account without administrator or region-bypass permissions. Try one harmless tile edit inside the boundary, one outside and one at each edge. Restore the outside test tile afterward. An administrator’s successful edit cannot prove that visitors have the same access.

Test the named builder separately. They should have the intended access within the region, while an unlisted normal account should remain restricted. Check doors and any protected interaction your community depends on; a tile-build test alone does not establish every interaction rule.

Correct mistakes without exposing the spawn

If the rectangle is wrong, inspect its recorded dimensions before changing it. Use the installed help for region expansion or contraction and adjust one edge at a time. Keep protection enabled while you refine the boundary, then repeat the ordinary-account checks.

Remove temporary builder access with /region remove PLAYER spawn_lobby after the work ends. Record the final region name and authorised accounts in your staff notes. If a player can still build where you expect a restriction, check overlapping regions and their group permissions before blaming the world file.

For a larger redesign, keep the current region until you have planned its replacement. Deleting all regions or disabling global protection as a troubleshooting shortcut can expose areas unrelated to spawn. Share the specific region information with support if you cannot explain the access result.

Official references