AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AMX SSBan v2.6 [UPDATE: 10.Jul.2010] (https://forums.alliedmods.net/showthread.php?t=90318)

dorin2oo7 04-16-2009 18:41

AMX SSBan v2.6 [UPDATE: 10.Jul.2010]
 
5 Attachment(s)
AMX SSBan v2.6
by Teascu Dorin & Fysiks



.:: Description ::.

THE MOST ADVANCED SNAPSHOT+BAN PLUGIN!


IMPORTANT !!! For the ban menu you have to type the reason before ban occurs ! If you do not apply a reason before ban occurs the NO_REASON_MENU multilingual line will 'say' No Reason Submission as reason !

Thank's everyone for their help/support on developing this plugin !

  • Make snapshots of a player by amx_ss command (saved on targets PC).
  • Ban players by AmxModX Ban or AmxBans (v5.x or v6.x) and also takes snapshots by amx_ssban command.
  • Menu banning and snapshot taking by amx_ssbanmenu command.
  • Inside snapshots are displayed messages with players details like IP, SteamID, Name, Country, Unban site etc.
  • The printed details could be in HUD (center top), Chat or both.
  • Check Admin Commands to see how does the commands works.
  • Check Available CVAR's to see what you can change within this plugin.
  • See snapshots below to see how it works.
  • Check F.A.Q. first if you have trouble in using this plugin.


.:: ToDo ::.

- Add Ban Menu - added on 26.07.2009 - by Fysiks
- Add reason for ban menu - added on 31.07.2009 - by Fysiks
- Add support for AmxBans v6.x - added on 09.07.2010 - by Fysiks
- Add AMX SSBan into amxmodxmenu - added on 30.01.2011 - by Fysiks



.:: F.A.Q. ::.

*NEW*
Q: How to add Amx SSBan into amxmodxmenu?
A: Use the plugin (menufront.sma) modified by fysiks from HERE (or attached bellow).
*NEW*

Q: Where are the snapshots saved?
A: The snapshots are saved on targets computer in cstrike folder.

Q: Why does the plugin not loading with server?
A: You may need to check installation again to make sure that amx_ssban.amxx exist in plugins folder, and the line amx_ssban.amxx exist on a new line in plugins.ini.

Q: Why does the plugin appears in server console unknown when I type amxx plugins ?
A: You have to make sure that the plugin named amx_ssban.amxx exists in plugins folder and the line amx_ssban.amxx exists in plugins.ini.

Q: The menu is not working. Why ?
A: Make sure you installed the last version (above 2.0) !

Q: Why does the ban not working ?
A: You need to use above v2.4 because of new steam updates that are not allowing to many commands in one line.


.:: Installing ::.
  1. Upload amx_ssban.amxx into mod_dir/addons/amxmodx/plugins (mod_dir = cstrike, czero, dod etc)
  2. Upload menufront.amxx into mod_dir/addons/amxmodx/plugins (mod_dir = cstrike, czero, dod etc) ONLY if you want amx ssban in amxmodxmenu
  3. Upload screen_message.txt into mod_dir/addons/amxmodx/data/lang
  4. Open plugins.ini from mod_dir/addons/amxmodx/configs
  5. Add after '; Custom - Add 3rd party plugins here' on a new line like follows:
    Code:

    amx_ssban.amxx
  6. Save and close plugins.ini
  7. Restart Server (recommended) or Change Map

If you use AMXBANS you need to follow this steps:
  1. Open amxx_ssban.sma and find line 113 that looks like this:
    PHP Code:

    #define AMXBANS 0 // Set this to 1 to enable AmxBans support. (Uses amx_ban <minutes> <userid> [reason]) 

  2. Change 0 into 1
  3. Save and Close
  4. Recompile plugin
  5. Move compiled *.amxx from compile folder to plugins folder and replace the old one.


.:: Available CVAR's ::.
  • amx_ssdelay "1.0"
    • Delay between snapshots (Def.: "1.0") WARNING has to be .0 as is float
  • amx_bandelay "10.0"
    • Delay before ban is done (Def.: "10.0") WARNING has to be .0 as is float
  • amx_ssnumber "3"
    • Number of snapshots to take (Def.: "3")
  • amx_website ""
    • Unban request site (Def.: "www.yoursite.com")
  • amx_msg_type "3"
    • Info player/admin messages 1 - chat | 2- hud | 3- chat+hud (Def.: "3")


.:: Admin Commands ::.
  • amx_ss <name or #userid>
    • Make Snapshots on target !
  • amx_ssban <name or #userid> <minutes> [reason]
    • if #define AMXBANS 0 bans will be done by AMXMODX (Default) and usage will be above one !
  • amx_ssban <minutes> <name or #userid> [reason]
    • if #define AMXBANS 1 bans will by done by AMXBANS and the usage will be above one !
  • amx_ssmenu
    • Pop up the snapshot menu - made by Fysiks
  • amx_ssbanmenu
    • Pop up the ban menu - made by Fysiks

.:: Notes ::.

You can change/modify chat message colors in the language *.txt file located in addons/amxmodx/data/lang named screen_message.txt !
Message colors usage:
- !y - Yellow (Normal chat color)
- !t - Team Color (Red=T, Blue=CT, Grey=Spec)
- !g - Green


.:: Screenshots ::. (N/A anymore)

AMX SSBan Menu with chat and HUD messages.

Ban menu appear only for admins !
HUD and/or Chat messages appear only for target player.

?

Ban reason message waiting:

?

.:: Translations ::.

Code:

[en] English - Teascu Dorin
[ro] Romanian - Teascu Dorin
[es] Spanish - AfteR.
[de] German - master4life & KadiR
[bg] Bulgarian - InquiSitoR-bG
[pl] Polish - merkava
[sv] Swedish - D-TOX & zacky
[nl] Dutch - crazyeffect
[pr] Puerto Rico - One
[lt] Lithuanian - hleV
[bp] Brazilian Portuguese - Bummps
[fr] French - arkshine
[sr] Serbian - rsbane
[lv] Latvian - NiHiLaNTh
[sk] Slovakian - Seehank
[da] Danish - Jelle
[ru] Russian - CKOTuHA
[tc] Traditional Chinese - biscuit628
[cn] Simplified Chinese - biscuit628
[ar] Arabic - Dr.eNd
[vi] Vietnamese - decongamco
[fi] Finnish - jonnzus
[et] Estonian - trollz0r
[tr] Turkish -Secondry.

Any new translations are useful !!!


.:: Thanks & Credits ::.
  1. Fysiks - added ban menu and optimized the plugin. Added AmxBans v6.x support, and much more.
  2. Alka - stock color print
  3. hackandmore - used his plugin to learn how to use amx_msg_type cvar
  4. AMXX Dev Team for using their amxmodx ban script
  5. uTg | bigpapajiggs for using part of his plugin Admin Screen2 script about delay between snapshots
  6. Any other plugins authors that made this type of plugin and this community for all the support provided !


.:: Change Log ::.

Code:

10.Jul.2010 - v2.6 - [ADDED] support for AmxBans v6.x (by Fysiks)
    [FIXED] lang file by saving it as Unicode without BOM
20.Aug.2009 - v2.5 - [ADDED] HUD flashing message to ask reason submission from admin
17.Aug.2009 - v2.4 - [FIXED] Amx Mod X banning issue
31.Jul.2009 - v2.3 - [ADDED] reason submission for menu bans
26.Jul.2009 - v2.2 - [ADDED] menu for taking snapshots - by Fysiks
    [CHANGED] the plugin name from AMXX SSBan w/ Menu in simple AMX SSBan
24.Jul.2009 - v2.1 - [REMOVED] amx_ban_type cvar
    [CHANGED] the script for easy usage of bantype (optimized by Fysiks)
23.Jul.2009 - v2.0 - [ADDED] ban menu - Al the work provided by Fysiks
11.May.2009 - v1.9.5 - [ADDED] tasks controlled by cvar for bans
    [ADDED] cvar amx_bandelay - Delay before ban is done (Def.: 10.0)
07.May.2009 - v1.9.1 - [FIXED] the usage of command on immunity admins.
        You can take snapshots of admins with immunity
06.May.2009 - v1.9 - [ADDED] to AMXX Snapshot a task to take the snapshots with time delay
    [ADDED] cvar amx_ssdelay - Delay between snapshots (Def.: 1)
    [ADDED] cvar amx_ssnumber - Number of snapshots to take (Def.: 3)
    [ADDED] possibility of taking snapshots on immunity admins
06.May.2009 - v1.8.1 beta - [REMOVED] NO ACCESS console message as Fysiks said that
        'if(!cmd_access...' already does this
06.May.2009 - v1.8 beta - [CLEANED] up the plugin (some script arranging)
    [REMOVED] amx_chattag - it was irelevant... left [AMXX] by default as tag
    [ADDED] bans by AMXMODX - THX AMXX Dev Team for ban code
    [ADDED] cvar amx_ban_type - 0- Disabled | 1- AmxModX Ban | 2- AmaBans Ban
    [ADDED] possibility of taking snapshots and banning admins with immunity
        (not working for AMXBANS as is used by server_cmd)
    [ADDED] the console print to inform a player/admin about no acces for command
03.May.2009 - v1.7 beta - [ADDED] command amx_ssban to use bans by AMXBANS
28.Apr.2009 - v1.6 - [CHANGED] from 'if(get_pcvar_num...' to switch Message type with case
18.Apr.2009 - v1.5 - [ADDED] cvar amx_msg_type - 1 - chat | 2- hud | 3- chat+hud (Def: "1")
    [ADDED] hud message for player data (controled by cvar)
    [ADDED] Polish translation
17.Apr.2009 - v1.4 - [ADDED] to cache SteamID also in the snapshots - THX xPaw
17.Apr.2009 - v1.3 - [CHANGED] cvar to pcvar - THX xPaw for pointing that out !
17.Apr.2009 - v1.2 - [ADDED] cvar amx_chattag - Make any tag you like in chat
16.Apr.2009 - v1.1 - [ADDED] Multilingual
15.Apr.2009 - v1.0 - Initial release


.:: Game Monitor ::.


Server that using This Plugin


.:: Downloads ::.
- OLD Versions in *.zip file !
- menufront.amxx is only for who wants to add amx ssban into amxmodxmenu

AfteR. 04-16-2009 19:20

Re: AMXX Snapshot v1.2
 
Code:

[es]
SS_MSG1 = !y[%s] ADMIN: !g%s !yuso el comando SnapShot en ti !
SS_MSG2 = !y[%s] Fecha: !g%s !y| Server: !t%s !y!
SS_MSG3 = !y[%s] Nombre del jugador: !g%s !y| IP: !g%s !y| Pais: !g%s
SS_MSG4 = !y[%s] Para desbanear visita !t%s !y!
SS_CASE2 = !yADMIN !g%s !yuso el comando SnapShot en !g%s
SS_CASE1 = !yADMIN uso el comando SnapShot en !g%s
SS_CONSOLE = Le has tomado algunas fotos a %s !


master4life 04-16-2009 19:46

Re: AMXX Snapshot v1.2
 
German Translate
Code:

[de]
SS_MSG1 = !y[%s] ADMIN: !g%s !ybenutzte denn Befehl SnapShot bei dir !
SS_MSG2 = !y[%s] Datum: !g%s !y| Server: !t%s !y!
SS_MSG3 = !y[%s] Spieler Name: !g%s !y| IP: !g%s !y| Land: !g%s
SS_MSG4 = !y[%s] fuer Entbannung besucht !t%s !y!
SS_CASE2 = !yADMIN !g%s !ybenutzte denn Befehl SnapShot bei !g%s
SS_CASE1 = !yADMIN benutzte denn Befehl SnapShot bei !g%s
SS_CONSOLE = Sie haben gerade einige Schnappschüsse aufgenommen zu %s !


Reaper2331 04-16-2009 19:53

Re: AMXX Snapshot v1.2
 
Screen shot of plugin in action?

Alucard^ 04-16-2009 21:05

Re: AMXX Snapshot v1.2
 
what the different with another snapshots plugins? apart of multilingual

dorin2oo7 04-17-2009 06:11

Re: AMXX Snapshot v1.2
 
Quote:

Originally Posted by Reaper2331 (Post 807135)
Screen shot of plugin in action?

It will be in a short time !

Quote:

Originally Posted by Alucard^ (Post 807162)
what the different with another snapshots plugins? apart of multilingual

If you look a little closer to the code you will see that is kind of arranged and contains cvar also :|

anakin_cstrike 04-17-2009 06:36

Re: AMXX Snapshot v1.2
 
Quote:

Originally Posted by dorin2oo7 (Post 807363)
It will be in a short time !



If you look a little closer to the code you will see that is kind of arranged and contains cvar also :|

Just like Ultimate Snapshot made by hack, unaproved.

dorin2oo7 04-17-2009 06:52

Re: AMXX Snapshot v1.2
 
Quote:

Originally Posted by anakin_cstrike (Post 807377)
Just like Ultimate Snapshot made by hack, unaproved.

1. hack's plugin is unapproved
2. hack's plugin does not contain multilingual
3. hack's plugin contain cvar's to set the number of ss and maxss

So how can you say that is "JUST LIKE"....

xPaw 04-17-2009 06:58

Re: AMXX Snapshot v1.2
 
Use pcvars.

Quote:

[ru]
SS_MSG1 = !y[%s] Admin: !g%s !ysdelal skrinshot na tebe !
SS_MSG2 = !y[%s] Data: !g%s !y| Server: !t%s !y!
SS_MSG3 = !y[%s] Imja igroka: !g%s !y| Ip: !g%s !y| Strana: !g%s
SS_MSG4 = !y[%s] Po voprosam unbana zajdi na !t%s !y!
SS_CASE2 = !yAdmin !g%s !ysdelal skrinshot na !g%s
SS_CASE1 = !yAdmin sdelal skrinshot na !g%s
SS_CONSOLE = Ty tol'ko chto sdelal skrinshot na %s !

dorin2oo7 04-17-2009 07:34

Re: AMXX Snapshot v1.2
 
Quote:

Originally Posted by xPaw (Post 807395)
Use pcvars.


Done.... THX xPaw


All times are GMT -4. The time now is 16:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.