Skip to content

zeus2198/Temporary-ban-system-for-SA-MP-servers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is temporary ban system including ip bans for sa-mp servers. It uses y_ini to write/read from ini files.

Features

  • 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!

Things you need or need to do

  • 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.

Commands

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.

Releases

No releases published

Packages

No packages published

Languages