samp.directory
← Скрипты и библиотеки

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

ini based temporary ban system for sa-mp

Фильтрскрипт★ 5обновлён февр. 2017 г.Без лицензииPAWN
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью