How to Ban or Unban Players from Your Terraria Server

You can ban or unban players from your Terraria server by entering commands in your server’s console. If you don’t know how to access your server’s control panel, check out our guide on how to do so here.

BANNING A PLAYER FROM YOUR TERRARIA SERVER

Vanilla

  1. Log into your control panel and navigate to your Console.
    Multicraft Console

  2. In the text field below the console log, type ban <playername>, replacing <playername> with the name of the player you wish to ban
Note: that the player you wish to ban must be online when you ban them.

Once a player is banned, they will be unable to connect to your server using any character

TShock

There are two ways to ban users with TShock; temporarily and permanently.

Note: When banning or unbanning players, you will need to have the tshock.admin.ban permission on your server.

To ban a player permanently, log into your server and open the chat (/is used by default). In the chat, enter the command /ban add <username> <reason> to ban a specific username with a reason. If you know the player’s IP, you can use the command /ban addip <IP Address> to ban them by their IP.

To ban a player temporarily, log into your server and open the chat. In the chat, enter the command ban addtemp <name> <time> <reason>.

UNBANNING A PLAYER FROM YOUR TERRARIA SERVER

Vanilla

  1. Log into your server’s control panel.
  2. Navigate to Files > FTP File Access. Enter your control panel password and press Login.
    FTP Server Login
  3. Navigate to banlist.txt and click Edit on the right.
  4. You will notice two lines for each banned player: one line containing // followed by the player’s username and a second line containing the banned player’s IP Address. Delete both lines for the player you wish to unban then hit Save at the top of the page.
    banlist.txt Edit

Once you save your changes, the player will be unbanned immediately.

TShock

If a player was banned by their username or IP, they will need to be unbanned the same way.

To unban a player by their username, log into your server and open the chat (/ is used by default). In the chat, enter the command /ban del <username>. To unban a player by their IP, log into your server and open the chat (/ is used by default). In the chat, enter the command /ban delip <IP Address>.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • Ban, Unban, Admin, tShock, Vanilla
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install 64-bit tModLoader onto your PC

tModLoader is a 32-bit program when you download and install it from Steam. This limits the RAM...

How to Install & Setup TShock Onto your Terraria Server

TShock is an invaluable tool for running servers. Supporting the latest version of Terraria,...

How to Join Your Terraria Server (on PC)

We have a video tutorial on how to join a Terraria server: Finding your Server IP To get...

How to add Mods to your Terraria Server (Using tModLoader)

If you've played Terraria before, mods are a great way to change up the game experience and add...

How to Download Your Terraria Server World

If you want to use your Terraria server world in singleplayer or store a backup locally, you will...