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 Server
TerrariaTerrariaKick & Ban Players

How to Kick and Ban Players on Your Terraria Server

Kick and ban players on a Terraria server

2 min read
Jul 30, 2026

You kick and ban players via the server console in the dashboard. You always specify the player name the player joined the server with.

Find the player name

playing

This command lists all currently connected players. Use the name exactly as shown there for the following commands.

Kick a player

kick <PlayerName>

The player is removed from the server but can rejoin immediately.

Ban a player

ban <PlayerName>

The player is removed from the server and added to the file banlist.txt.

Unban a player

There is no unban command. To unban someone you edit the ban list via SFTP:

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

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

  3. Open banlist.txt
    In the main directory of your server, open the file:

    /banlist.txt
    
  4. Remove the entry
    Every ban consists of two lines: the player name and, below it, the banned IP address. Remove both lines of the player and save the file.

  5. Start the server
    Start your server so the ban list is read in again.

Command overview

Command Description
playing Show connected players
kick <PlayerName> Kick a player
ban <PlayerName> Ban a player
say <message> Send a message to all players
help Show all console commands
time Show the current in-game time
save Save the world immediately
exit Save the world and shut down the server
Written byEmeraldHost Team
Last updated on Jul 30, 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

Ready to get started?

Rent your Terraria Server now

Join our Discord community 1257 members online right now