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
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

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...

How to Backup and Restore Your Terraria Server

NOTE: Due to how Terraria works, player data is stored on your own computer. This means that if...

How to Change the Size of Your Terraria Server World

Depending on players or how far you want to explore, you may want to increase or decrease the...

How to Change Your Terraria Server Description (MOTD)

We have a video tutorial on how to change your Terraria server MOTD: Whenever a player joins a...

How to Change Your Terraria Server Password

Terraria servers are public by default. This means that anyone who has the IP is able to join. To...