20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. Terraria
  3. How to Ban or Unban Players from Your Terraria & Tshock Server
  1. Home
  2. Game Servers
  3. How to Ban or Unban Players from Your Terraria & Tshock Server

How to Ban or Unban Players from Your Terraria & Tshock Server

Managing who can access your Terraria server is essential for maintaining a positive and fair experience for everyone. Whether you’re removing disruptive players or correcting an accidental ban, this guide covers both banning and unbanning steps for Vanilla and TShock servers.


How to Ban a Player from Your Server

Sometimes, banning a player is necessary to protect the integrity of your server, especially if someone is cheating, griefing, or violating community rules.

Banning a Player on a Vanilla Server

  1. Log into your server’s control panel and go to the Console tab.
  2. In the console input field, type: ban <playername>

Replace <playername> with the name of the user you wish to ban.

Note: The player must be online at the time of the ban for it to take effect.

Once banned, the player will be unable to connect to your server using any of their characters.

Banning a Player on a TShock Server

TShock allows you to issue temporary or permanent bans using in-game commands.

Important: You need the tshock.admin.ban permission to perform these actions.

  • Permanent ban by username: /ban add <playername> <reason>
  • Permanent ban by IP address: /ban addip <IP Address>
  • Temporary ban: /ban addtemp <username> <duration> <reason>

All commands should be entered in the server’s in-game chat, with / as the command prefix.


How to Unban a Player from Your Server

If a player has been mistakenly banned or their ban duration has expired, you can remove the restriction and allow them to rejoin.

Unbanning a Player on a Vanilla Server

  1. Access your control panel.
  2. Navigate to the Files tab.
  3. Open the banlist.txt file.
  4. Locate the two lines related to the banned player — one for their username and another for their IP address. Delete both lines.
  5. Save the file.

The player will be unbanned immediately after saving your changes.

Unbanning a Player on a TShock Server

Use the corresponding command based on how the player was banned:

  • Unban by username: /ban del <username>
  • Unban by IP address: /ban delip <IP Address>

Run the commands in the in-game chat window.


With these commands and steps, you can easily manage bans on your Terraria server and keep your gameplay environment fun and fair for all players.

Updated on April 22, 2025
Was this article helpful?

Related Articles

Leave a Comment

CAPTCHA ImageChange Image