Правила форума Гаранты форума
Размещение рекламы AMX-X компилятор

Здравствуйте, гость Вход | Регистрация

Наши новости:

14-дек
24-апр
10-апр
11-апр

Ultimate Bans v1.9 [12 Jan 2014]

Статус пользователя souvikdas95
сообщение 30.4.2014, 6:18
Сообщение #1


Стаж: 11 лет

Сообщений: 17
Благодарностей: 44
Полезность: 0



Latest Update : 12 January, 2014

Changes :
  1. Fixed : Another Bug with Voteban Menu fixed.
  2. Changed BAN Command Syntax for Compatibility with Other Plugins. Changed Parameter Order. See Commands Section.
  3. Now shows the Name of the Server where the Player is Banned in Console


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
  • Automatically Deletes Fake Ban Entries
  • Thorough Synchronization with BanList file
  • Supports WildCard in Commands
  • SQL Support ( Coming Soon )


Console/RCON/Admin Commands :
  1. amx_ban <nick, #userid, authid, ip> <minutes> [reason] <bantype>
    • <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 )
    • [reason] (optional) --> This defines the Reason for which Banning is done. Default : (<null>).
    • <bantype> (optional) [ Note - Needs "Reason" Parameter to be Filled ]--> 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

  2. amx_addban <nick, authid, ip> <minutes> [reason] <bantype> ( 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 Access Levels 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 - "60.0" )

  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 ] (above all plugins including default plugins of amxmodx).


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 :



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


Stress Test Result :
Handles more than 2000 Ban Entries Without Causing Lag

Servers using this Plugin : Gametracker

Download :

Прикрепленный файл  menufront.sma ( 13,38 килобайт ) Кол-во скачиваний: 97

Прикрепленный файл  menufront.txt ( 10,94 килобайт ) Кол-во скачиваний: 155

Прикрепленный файл  adminvote.sma ( 15,72 килобайт ) Кол-во скачиваний: 80

Прикрепленный файл  UltimateBans.sma ( 69,5 килобайт ) Кол-во скачиваний: 181


Отредактировал: souvikdas95, - 30.4.2014, 6:21
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 14 раз
   Цитировать сообщение
Статус пользователя souvikdas95
сообщение 30.4.2014, 9:47
Сообщение #2


Стаж: 11 лет

Сообщений: 17
Благодарностей: 44
Полезность: 0

@Kadun - I did not fully understand your last line. Multiple Bans is valid for sure. This is because there maybe 2 players in the server hacking from same external IP. In that case if you try to ban one by IP from any other plugin, it will either ban that specific guy and let the other player remain hacking ( you can't ban him ) OR even if you ban separately, it will create multiple entries in banlist OR it will simply say that more than one player share the same IP and hence can't ban either of them.
Moreover with my plugin, you can even see the logs for which players got banned for same IP / SteamID / Name ( Tag )

Отредактировал: souvikdas95, - 30.4.2014, 9:51
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 2 раз
   + Цитировать сообщение
Статус пользователя kadun
сообщение 30.4.2014, 9:59
Сообщение #3


Стаж: 10 лет

Сообщений: 222
Благодарностей: 43
Полезность: 156

souvikdas95,Thank, now understand.


PS badboy2115,, thx = th's

Отредактировал: kadun, - 30.4.2014, 10:37
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя badboy2115
сообщение 30.4.2014, 10:27
Сообщение #4


Стаж: 11 лет

Сообщений: 589
Благодарностей: 115
Полезность: 351

Thx for plugin
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя CL0NE [ua]
сообщение 28.8.2014, 2:22
Сообщение #5
Стаж: 14 лет

Сообщений: 33
Благодарностей: 19
Полезность: 438

Looks like Advanced bans generously flavored with spaghetti... No offence, but really needs it.

Отредактировал: CL0NE [ua], - 28.8.2014, 2:24
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Ответить в данную темуНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: