Half-Life и Adrenaline Gamer форум

Всё об игре в Халф-Лайф и АГ
Текущее время: 29 мар 2024, 00:23

Часовой пояс: UTC + 5 часов [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 4 ] 
Автор Сообщение
 Заголовок сообщения: Ultimate Bans 1.7
СообщениеДобавлено: 22 ноя 2013, 22:23 
Не в сети
Зарегистрирован:
26 сен 2013, 11:16
Последнее посещение:
14 янв 2015, 18:53
Сообщения: 32
Изображение

Latest Update : 17 November, 2013

Changes :
  1. Added : Optional Voteban Menu. See CVARs
  2. Fixed : few Bugs. Description Not Required.
  3. Improved : Unban Menu ( Descending List )

Modules :
  • Regex

Features :
  • STEAMID Bans
  • IP + RANGE Bans
  • NAME Bans
  • Ban Query
  • Heuristic Mode
  • Support for Multiple Bans [ Player(s) with Same IP/STEAMID ]
  • Full Command Support for Console/RCON Banning
  • Advanced Time Management
  • Variable Flags for Immunity
  • Ban, Unban, Voteban Menus Integrated
  • SQL Support ( Coming Soon )

Console/RCON/Admin Commands :
  1. amx_ban <nick, #userid, authid, ip> <minutes> <bantype> [reason]
    • <nick, #userid, authid, ip> --> This defined the Information of Target, available with Banner. Note - This doesn't define Ban Type. It is only to locate the Player(s). For Range Ban, Use X.X.X.0 or X.X.0.0 or X.0.0.0 where 0 denotes the entire Range of 255 IPs'.
    • <minutes> --> This defines Duration of Ban. This can take both Integral and Decimal Values. Values Greater than 8-digit Integral Part is automatically forced to Permanent Ban ( 0 or 0.0 )
    • <bantype> (optional) --> This defines the BanType. Only 4 BanTypes are Possible : STEAMID , IP , NAME , AUTO. Other than these, any other INPUT will result in an Error. Default : ("AUTO").
      • STEAMID - As name suggests, this bans by SteamID
      • IP - As name suggests, this bans by IP Address
      • NAME - As name suggests, this bans by NAME. ( Case Sensitive ) Note - If a player named "asd123 a s d" is Banned, even player named "asd123 a s d Bazzinga!!" is Banned. Useful for banning multiple players at the same time.
      • AUTO - Either SteamID or IP Address will be Banned based on Offline ( LAN where by Default SteamID = "VALVE_ID_LAN". So, BAN by DHCP IP is the only mode ) and Online ( Internet ) Server
    • [reason] (optional) --> This defines the Reason for which Banning is done. Default : (<null>).
  2. amx_addban <nick, authid, ip> <minutes> <bantype> [reason] ( Similar to "amx_ban" but also Supports Offline Bans and IP Range Bans )
    • Advantage - You can use Range Ban OR Provided a sitation where, You are about to Leave the Server, a Player you wanted to ban has just left the Server, and you have the Required Information of him ( You can also use "amx_last" command to get his Information ). Note - Here BanType directly Corresponds to Target Information unlike "amx_ban".
    • Disadvantage - The Mechanism may become lengthy when you type in the information of a player who's already connected to the Server. This Command is very SENSITIVE and only for EMERGENCY USE.
  3. amx_unban <nick, authid, ip> <bantype>
    • This is used to Unban Player
  4. amx_queryban <nick, authid, ip> <bantype>
    • This will search the banlist for any similar entry. if bantype is mentioned, then it will search in corresponding bantypes only else it will search anywhere in the list and show the results.
    • Related Commands ( "amx_queryban" should be executed atleast once after which Console must print INFO about these Commands. ) :
      • amx_querynext - To go to Next Page of Search.
      • amx_queryback - To Return to Previous Page of Search.
  5. amx_banlist <start from entry no.>
    • Shows the List of Banned Players with a max. of 5 at a Time. Default Parameter = '0'. Any other number would show the corresponding ban entry and the next 4 entires following it in order.
  6. amx_reloadbans ( Only Console/RCON Command i.e. NOT FOR ADMINS )
    • Reloads all Bans from BANLIST file
  7. amx_resetbans ( Only Console/RCON Command i.e. NOT FOR ADMINS )
    • Deletes all Bans from BANLIST file

Player Commands :
  • /voteban - Shows a Menu for Voteban provided CVAR "ub_vote_enable" is set to "1"

CVARs :
  1. ub_contact ""
    • Contact info to be displayed to the banned player in case he wants to get unbanned and wants to file a request ( Default - "N/A" i.e. won't be displayed )
  2. ub_flags ""
    • Players with these Flags are Immuned ( can't be banned ). For Multiple Flags, Write them like "abdfgt". ( Default - "a" )
    • Go to [url="http://wiki.amxmodx.org/Adding_Admins_(AMX_Mod_X)#Access_Levels"]Access Levels[/url] for Information on Flags.
  3. ub_checkinterval ""
    • This will check for unban after specified amount of time. Takes value in seconds. Any value less than 1.0 will disable the function. This is optional because an alternative has already been added which will check for unban while a player connects. This should be used just to remain updated with the bans. ( Default - "0.0" i.e. Disabled )
  4. ub_vote_enable ""
    • Toggles Voteban Menu ( Default - "1" i.e. Enabled )
  5. ub_vote_ratio ""
    • Percentage Ratio Votes of Connected Players required to Ban a Player ( Default - "0.40" i.e. 40% of total connected players )
  6. ub_vote_delay ""
    • Time in Seconds after which the Player will be able to Voteban again ( Default - "5.0" )
  7. ub_vote_time ""
    • Duration in Minutes for which the Vote-Banned Player will be Banned ( Default - "60.0" )
  8. ub_vote_min ""
    • Minimum Players required for Voteban to function ( Default - "5" )

Installation Instructions :
  1. Put "UltimateBans.amxx" and Replace "menufront.amxx" and "adminvote.amxx" in [ amxmodx/plugins/ ].
  2. Put "menufront.txt" in [ amxmodx/data/lang/ ].
  3. Write "UltimateBans.amxx" at the Top of [ amxmodx/configs/plugins.ini ].

Other Files : (Automatically Generated)
  1. "addons\amxmodx\data\UB_Banlist.txt" - BANLIST file (loaded at change of map/ start of server / restart of server - can be loaded manually by "ub_reloadbans" command from server console only. format : "<bantype>" "<target_authid>" "<target_ip>" "<target_name>" "<bantime>" "<unbantime>" "<banner_id>" "<banner_ip>" "<banner_name>" "
  2. "addons\amxmodx\logs\UB_Logs.txt" - LOG file to log every ban/unban/addban data of each player

Screenshots :

Изображение Изображение Изображение Изображение

FAQ :
Q. When I ban a player for 5 minutes, he doesn't get unbanned after 5 Minutes.
A. By default automatic unban is disabled. Only when a player connects to server, the plugin checks if bantime is up for he/she or not and hence decides whether to unban or not. In case you need automatic unban, set "ub_checkinterval" to "60.0" which would then check for Unban every 60 Seconds.

Credits :
  • claudiuhks ( for native information and syntax support )
  • Drekes ( for menu support )
  • Noor Sarao ( for Banner/Logo of Ultimate Bans )

Servers using this Plugin : Gametracker

Download :
Изображение menufront.txt (104 Bytes)
Изображение Get Plugin or Get Source (menufront.sma - 13.4 KB)
Изображение Get Plugin or Get Source (adminvote.sma - 15.7 KB)
Изображение Get Plugin or Get Source (UltimateBans.sma - 68.9 KB)


Последний раз редактировалось souvikdas95 22 ноя 2013, 22:48, всего редактировалось 1 раз.

Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Ultimate Bans 1.7
СообщениеДобавлено: 22 ноя 2013, 22:48 
Не в сети
Site Admin
Зарегистрирован:
01 июн 2010, 01:27
Последнее посещение:
26 мар 2024, 21:42
Сообщения: 6864
Put the link to source too or attach, please.
Thanks!


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Ultimate Bans 1.7
СообщениеДобавлено: 22 ноя 2013, 22:53 
Не в сети
Зарегистрирован:
26 сен 2013, 11:16
Последнее посещение:
14 янв 2015, 18:53
Сообщения: 32
your are too fast Lev!! :P


Вернуться к началу
 Профиль 
  
 Заголовок сообщения: Re: Ultimate Bans 1.7
СообщениеДобавлено: 01 дек 2017, 13:22 
Не в сети
Зарегистрирован:
09 апр 2017, 13:55
Последнее посещение:
30 дек 2017, 14:40
Сообщения: 21
Не работает ссылка

Get Plugin or Get Source (UltimateBans.sma - 68.9 KB)


Вернуться к началу
 Профиль 
  
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 4 ] 

Часовой пояс: UTC + 5 часов [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 12


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB