This is temporary ban system including ip bans for sa-mp servers. It uses y_ini to write/read from ini files.
- Players can be banned for days, hours or minutes!
- IP of player is also banned when a player is banned preventing Multi-acconting.
- It has ban/unban logs storing feature which can be viewed ingame by commands listed below.
- Has the command to show detailed ban info of a paticular ban!
- You need TimeStampToDate.inc to use it which can be found here.
- You also need fixes.inc which can be found here
- Create folder named as "Bans" and "IP" in scriptfiles folder.
Command | Description |
---|---|
/ban id [duration in days] [Reason] | Bans a player for specified number of days. |
/banm [id] [hours] [minutes] [reason] | Bans a player for specified number of hours and minutes. |
/log | Shows unban log. |
/banperm [id] [Reason] | Permanently bans a player. |
/removeban [playername] | Removes a ban. * |
/showbans | Shows currently banned players. |
/showbaninfo [playername] | Shows the ban info of a specific player specified. You need exact name of player. |
- An alternative way to remove ban is remove player ini file directly from Bans folder.