> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Manage Bans & Guest Permissions in Terraria

> Protect your world from griefing and unauthorized destruction. Learn how to use TShock's advanced banning and 'Graylisting' systems to secure your community.

## Managing Private Access Control

Public Terraria servers are frequent targets for architectural griefing and world destruction. Without a rigorous management strategy, a single unauthorized participant using high-tier explosives or buckets of lava can compromise hours of collective community progress. The **TShock** framework provides advanced banning and "Graylisting" systems designed to neutralize these threats while maintaining a welcoming environment for legitimate survivors. This guide walk you through the professional security protocols for your FREAKHOSTING instance.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    5 Minutes
  </Card>
</CardGroup>

***

## Administrative Moderation Commands

TShock persists all moderation data within a secure SQLite database, ensuring that restrictions remain active across server restarts.

| Administrative Action  | Command Syntax             | Strategic Purpose                                                          |
| :--------------------- | :------------------------- | :------------------------------------------------------------------------- |
| **Account Ban**        | `/ban [player] [reason]`   | Restricts the specific TShock account from rejoining the server.           |
| **IP-Level Block**     | `/ban addip [IP] [reason]` | Neutralizes the player's connection entirely via their network identifier. |
| **Audit Registry**     | `/ban list`                | Generates a real-time list of all restricted accounts and IP addresses.    |
| **Revoke Restriction** | `/unban [player]`          | Restores world access to a previously restricted account or IP.            |

***

## Graylisting: The "No-Build" Security Model

The most effective technical defense against map destruction is the "Graylist" model. In this configuration, new players (Guests) are authorized to explore and socialize but are programmatically restricted from structural modification until they are verified.

<Steps>
  <Step title="Restrict the Guest Rank">
    use the following command to remove block-interaction capabilities from the default entry group:
    `/group addperm guest -tshock.world.edit`
    *(Note: The negative prefix `-` explicitly denies the permission node).*
  </Step>

  <Step title="Community Verification">
    Interact with new players as they join to ensure they adhere to your server's behavioral standards.
  </Step>

  <Step title="Promote to Trusted Status">
    Once a survivor is verified, elevate them to the **`default`** or **`member`** group to authorize building and container access:
    `/user group [PlayerName] default`
  </Step>
</Steps>

***

<Tip>
  ### Proactive Automated Defense

  By implementing this Graylist model, you ensure that anyone can discover your server and enjoy its atmosphere, but they cannot use TNT, distribute lava, or dismantle safehouses until an administrator has manually authorized their participation. This is the "gold standard" for high-population public Terraria hosting.
</Tip>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Terraria:** Security protocols set.
</div>
