How to Set the RCON Password and Ban Players on Your SA-MP Server
SA-MP2 min readUpdated Nov 24, 2026
RCON is the admin tool of a SA-MP server: with the password you can manage the server from inside the game. The panel also uses it to kick players. Bans work by IP address on the Bans tab.
Turn On RCON
- Log in to your game panel and click your SA-MP server.
- Open Files in the left menu and click
server.cfg. - Make sure the file has the line
rcon 1. If it saysrcon 0, change it torcon 1. If the line is missing, add it. - Add or change the line
rcon_passwordfollowed by a password of your own, for examplercon_password MyStrongPass. Do not usechangeme, the server refuses it. - Click Save and restart the server from the Console page.
Use RCON in the Game
- Join your server.
- Type
/rcon loginfollowed by your password in the chat. - You can then use commands such as
/rcon kick 3or/rcon ban 3, where the number is the player ID from the Online players list.
Kick From the Panel
- Open SA-MP Manager and stay on Status & players.
- In Online players, click Kick next to the player.
- If the panel says RCON is disabled. Enable it in server.cfg (rcon 1) and restart the server., finish step 1 first.
Ban an IP Address
- Click the Bans tab.
- In Add ban, type the IP address and, if you like, a Player name (optional) as a note for yourself.
- Click Ban IP. The address appears under Banned IPs.
- To lift a ban, click the remove button next to the address and confirm Remove ban.
- To find a player's IP, use Load IPs on the Status & players tab.
Good to Know
- Restart after a ban. The server reads its ban list when it starts. For an immediate ban of someone who is online, kick them first.
- Keep the RCON password secret. Everyone who knows it controls your server. The panel hides it from the server.cfg tab.
- Shared IPs. Several people can share one IP address, so a ban can hit more than one player.
Finished
Your server is under control. Last, read how restarts work on SA-MP.
Did this solve your problem?
Still stuck?
Our support team actually knows the games we host. Open a ticket and we will figure it out together.
Open a ticket