New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your Terraria tModLoader Server
Terraria: tModloaderTerraria: tModLoaderKick & Ban Players

How to Kick and Ban Players on Your Terraria tModLoader Server

Kick and ban players on a Terraria tModLoader server

1 min read
Apr 11, 2026

You can kick and ban players using the server console.

Kick a player

Enter the following command in the server console:

kick <name>

The player is removed from the server but can rejoin.

Ban a player

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

Command Description
kick <name> Kick a player
ban <name> Ban a player
Written byEmeraldHost Team
Last updated on Apr 11, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Terraria: tModloader

Ready to get started?

Rent your Terraria: tModloader Server now

Join our Discord community 1257 members online right now