ban <player> in the Console; to remove them without a ban, type kick <player>. Banned players are stored in banlist.txt. To unban someone, stop the server, open banlist.txt in Files, delete the player’s name and IP lines, save and start the server. To keep uninvited guests out, set a Server password.
How to kick or ban a player
1
Find the player's name
Type
playing in the Console to list who is online.2
Kick or ban
Type
kick <player> to remove them for now, or ban <player> to stop them coming back. Example: ban Griefer123. No slash.How to unban a player
1
Stop the server
2
Open banlist.txt
Open Files and click
banlist.txt in the main folder.3
Remove the player
Delete the player’s name and their IP address. Save the file.
4
Start the server
Start the server. The player can join again.
banlist.txt in the server folder. Leave it unless you have a reason to change it.
How to keep guests out
Vanilla Terraria has no whitelist or guest rank. Your options:
If a banned player knew the password, change the password as well.
Frequently asked questions
Can I see who is banned?
Openbanlist.txt in Files. It lists the banned players’ names and IP addresses.
Why can a banned player still join?
They may be on a different IP or name. Change the server password and ban them again when they join.How do I clear all bans?
Stop the server, emptybanlist.txt, save and start.
Can I let a friend kick and ban for me?
Add them as a panel sub-user with Users so they can use the Console.Related guides
Terraria server guide
Every Terraria page in one place.
Console commands
Every vanilla command.
Server password
Keep the server private.
TShock groups and permissions
Guest and admin groups.
Tested by the FREAKHOSTING team on our Game Panel on 31 October 2026 (Terraria 1.4.5.6, vanilla server). Ban commands checked against the official Terraria Wiki Server page. Steps may differ slightly if the game changes.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026