Jump to content
GIGN Forum

Hlguard Bannin' With Amxbans


Recommended Posts

8. third party plugins

The examples below are based on AMXMODX 1.60.

    * ATAC (Advanced Team Attack Control)

         1. Install this plugin according to the installation instructions. You'll find the plugin and information on how to install it in this thread (this example discusses the amxmodx version of the plugin): http://www.amxmodx.org/forums/viewtopic.php?t=11930
         2. Open the file atac.cfg and look after the line:

            atac_amxban 0
            Change that to
            atac_amxban 1

            ATAC will now ban with amxbans.

    * HLG 1.8 (Half-Life Guard)

         1. Install this anti-cheat solution according to the installation instructions. You'll find it at http://www.thezproject.org/projects.php?pid=1
         2. Open the file 'hlg_net.cfg' (located in the zip-file in 'addons/hlguard/config).

         3. In section:

            // Alias Detection Actions


         4. Find the following line:

            hlg_action "b:found:10" "banid 0.0 %w;kick #%u [HLGUARD] Banned: Permanently. Reason: %y;wait;writeid"


         5. And replace it with:

            hlg_action "b:found" "amx_ban 0.0 %w [HLGUARD] %y"


         6. Find the following line:

            hlg_action "t:found:10" "banid 1440.0 %w;kick #%u [HLGUARD] Banned: 24 hours. Reason: %y;wait;writeid"


         7. And replace it with:

            hlg_action "t:found" "amx_ban 1440.0 %w [HLGUARD] %y"


         8. In section:

            // Steambans check actions


         9. Find the following line:

            hlg_action "h:found:10" "banid 1440.0 %w;kick #%u [HLGUARD] Banned: 24 hours. Reason: You are SteamBans blacklisted! Visit www.steambans.com for more information;wait;writeid"


        10. And replace it with:

            hlg_action "h:found" "amx_ban 1440 %w [HLGUARD] SteamBans blacklisted!"

        11. In section:

            // Nameban Actions


        12. Find the following line:

            hlg_action "q:found:10" "banid 120.0 %w;kick #%u [HLGUARD] Banned: 2 hours. Reason: %y;wait;writeid"


        13. And replace it with:

            hlg_action "q:found" "amx_ban 120 %w [HLGUARD] %y"

        14. Aimbot Warning System Detection Actions (Abandoned, not updated, no support)
        15. When you're done, save the file.
        16. Type hlg_reset in console or (Re)start your server, and you should be all set.


9. console commands

amx_ban <time_in_minutes> <nickname|steamid|IP> <reason>

Kicks and bans specified nickname/steamid/IP

    * When using nickname to ban, the user needs to be on the server.
    * When steamid is used, the player does not need to be on the server.
    * *cannot* contain spaces
    * may be a unique substring of the actual nickname 

amx_find <steamid>

Checks wether an active ban exists for given steamid

    * *cannot* contain spaces 


amx_findex <steamid>

Checks expired bans for given steamid

    * *cannot* contain spaces 

amx_banmenu

Opens up the AMXBans Menu

amx_reloadreasons

Reloads the reasons for that server from the database

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...