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:
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Edit banlist.txt
Open the filebanlist.txtand remove the line with the player's name.Start the server
Start your server.
All commands
| Command | Description |
|---|---|
kick <name> | Kick a player |
ban <name> | Ban a player |