/rcon login <password> and type /rcon ban <player ID>, or /rcon banip <IP> to ban an address. SA-MP bans by IP address and stores bans in the samp.ban file. To unban, type /rcon unbanip <IP>, or delete the line from samp.ban in Files and run /rcon reloadbans.
Before you start
- Log in to RCON in game. See RCON commands.
- Use
/rcon playersto see who is online, with their IP address.
How to kick or ban a player
/rcon ban bans the player’s IP address, so it also blocks anyone else who connects from that address.
How to unban a player
With a command
1
Find the IP address
Open
samp.ban in Files and find the player’s IP address.2
Unban the address
In game, logged in to RCON, type:
By editing the ban file
1
Open samp.ban
In the Game Panel, open your server, click Files and open
samp.ban.2
Delete the line
Delete the player’s line and save the file. See the File Manager guide.
3
Reload the bans
The server reads
samp.ban only when it starts. Run /rcon reloadbans in game, or restart the server.How to ban someone who is offline
Add their IP address with/rcon banip <IP>. You need to know the address; /rcon players shows it while they are online, so note it before they leave.
Frequently asked questions
Does my gamemode have its own ban system?
Many roleplay and freeroam gamemodes keep their own bans, often by account name in a database. Those are separate fromsamp.ban. Unban those players with the gamemode’s own command or tool.
Why can a banned player still join?
Their IP address has probably changed. RCON bans are by IP only. Ban the new address, or use your gamemode’s account bans.Can I see the reason for a ban?
When a script bans withBanEx, the reason is saved with the ban. Open samp.ban to see it.
Who can ban players?
Anyone logged in to RCON, and admins of your gamemode if it has an admin system. Keep the Rcon password private.Related guides
SA-MP server guide
Every SA-MP page in one place.
RCON commands
Log in as admin.
Set a server password
Only let friends join.
Server logs
Read your server’s log files.
Checked against the official open.mp RCON documentation and the SA-MP wiki on 3 November 2026 (SA-MP 0.3.7-R2). Commands may differ slightly if your gamemode changes them.
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: November 2026