samp.directory
← Scripts e bibliotecas

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

ini based temporary ban system for sa-mp

Filterscript★ 5atualizado fev. de 2017Sem licençaPAWN
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

README.md

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

CommandDescription
/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.
/logShows unban log.
/banperm [id] [Reason]Permanently bans a player.
/removeban [playername]Removes a ban. *
/showbansShows 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.

banpawnsa-mpsa-mp-serversampsanandreas

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página