Skip to content

How to Kick and Ban Players on Your Terraria tModLoader Server

You can kick and ban players using the server console.

Kick a player

Enter the following command in the server console:

kick <name>
kick <name>

The player is removed from the server but can rejoin.

Ban a player

ban <name>
ban <name>

The player is permanently banned from the server.

Unban a player

There is no console command to unban players. You must edit the ban list manually:

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Edit banlist.txt
    Open the file banlist.txt and remove the line with the player's name.

  4. Start the server
    Start your server.

All commands

CommandDescription
kick <name>Kick a player
ban <name>Ban a player