Skip to main content

Server Security: Access Control


Public Terraria servers are often targets for griefing and world destruction. Without proper management, a single “Guest” with explosives can ruin hours of collective building. TShock provides advanced banning and “Graylisting” systems to keep your community safe.
Reading TimeDifficultyLast Updated
5 minutesBeginnerJanuary 2026

Moderation Commands

TShock stores all moderation data in an internal SQLite database. Use these in-game or via console:
  • /ban [player] [reason]: Bans the specified player’s account.
  • /ban addip [IP] [reason]: Blocks the player’s connection entirely via IP address.
  • /ban list: Displays a list of currently blocked players.
  • /unban [player]: Restores access to a previously banned account.

Graylisting: The “No-Build” Defense

The most effective way to prevent map destruction is to restrict building permissions for new players (Guests) until they are verified.
  1. Restrict Guests: Use the command /group addperm guest -tshock.world.edit. The minus sign - removes the ability to interact with blocks.
  2. Promote Members: Once you trust a player, promote them to the “default” or “member” group so they can build: /user group [Player] default.

Automatic Protection

Using these group permissions ensures that anyone who joins the server can explore and chat, but they cannot place TNT, lava, or dismantle safehouses until they are manually promoted by an admin.

Support Channels

If you need assistance or have any questions, please contact our support team:

First Month Discount

Use code KB20 at checkout to get 20% off your first month of hosting!

Last Updated: January 2026 | Terraria: Security protocols set.