Raised This Month: $32 Target: $400
 8% 

VAC Status Checker (v.2.5.0 8/27/19)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
StevoTVR
Senior Member
Join Date: Oct 2008
Plugin ID:
645
Plugin Version:
2.5.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    128 
    Plugin Description:
    Checks for VAC, game, Steam Community, and trade bans on the accounts of connecting clients
    Old 11-24-2008 , 20:55   VAC Status Checker (v.2.5.0 8/27/19)
    Reply With Quote #1

    VAC Status Checker

    This plugin checks for VAC, game, Steam Community, and trade bans on the accounts of connecting clients and takes the desired action. Useful for admins who want to block access to people for bad behavior outside the server.

    Get plugin | View source | View changelog



    RequirementsInstallation
    1. Download vacbans-x.x.x.zip
    2. Extract to addons/sourcemod
    3. Set sm_vacbans_apikey to your Steam Web API key
    Console Variables

    Code:
    // Actions to take on detected clients
    // Add up the options from the list:
    // 1:  Log to sourcemod/logs/vacbans.log
    // 2:  Kick
    // 4:  Ban
    // 8:  Display message to admins
    // 16: Display message to all players
    // -
    // Default: "3"
    // Minimum: "0.000000"
    // Maximum: "31.000000"
    sm_vacbans_actions "3"
    
    // The Steam Web API key used by VAC Status Checker
    // https://steamcommunity.com/dev/apikey
    // -
    // Default: ""
    sm_vacbans_apikey ""
    
    // How long in days before re-checking the same client
    // -
    // Default: "1"
    // Minimum: "0.000000"
    sm_vacbans_cachetime "1"
    
    // The named database config to use for caching
    // -
    // Default: "storage-local"
    sm_vacbans_db "storage-local"
    
    // Enable Steam Community ban detection
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_vacbans_detect_community_bans "0"
    
    // Enable economy (trade) ban detection (0 = disabled, 1 = bans only, 2 = bans and probation)
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "2.000000"
    sm_vacbans_detect_econ_bans "0"
    
    // Enable game ban detection
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_vacbans_detect_game_bans "0"
    
    // Enable VAC ban detection
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_vacbans_detect_vac_bans "1"
    
    // Ignore VAC bans older than this many days (0 = disabled)
    // -
    // Default: "0"
    // Minimum: "0.000000"
    sm_vacbans_vac_expire "0"
    
    // Ignore VAC bans issued before this date (format: YYYY-MM-DD)
    // -
    // Default: ""
    sm_vacbans_vac_ignore_before ""


    Console Commands
    • sm_vacbans_reset - Clears the cache database. Run from server console or client with sm_rcon access.
    • sm_vacbans_whitelist <add|remove|clear> [SteamID] - Run from the server console or client with sm_rcon access to control the whitelist:
      • add <SteamID> - adds a SteamID for the plugin to ignore
      • remove <SteamID> - removes a SteamID from the whitelist
      • clear - removes all SteamIDs from the whitelist
    • sm_vacbans_list - Lists the bans of connected clients. Admins with access to this also see the connect messages when sm_vacbans_action is 2.


    Override Commands
    • sm_vacbans_immunity - Users with access to this command will not be checked for bans (defaults to RCON access)

    Notes
    • All account data comes from the Steam Web API.
    • This works with SourceBans.
    • Data is logged to sourcemod/logs/vacbans.log.
    Credits
    • voogru - finding the algorithm for converting SteamIDs
    • berni & StrontiumDog - the function that converts SteamIDs
    • Cripix - French translation
    • Dreizehnt - Russian translation

    Last edited by StevoTVR; 08-27-2019 at 15:55.
    StevoTVR is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 11-25-2008 , 06:20   Re: VAC Status Checker
    Reply With Quote #2

    The problem with this is, there are some odd half-vac bans out there, some old false positives thanks to early versions of x-fire, and a number of other oddities. I have a friend who didn't hack, but he used x-fire, now he's vac banned on all non-source servers that are VAC enabled (IE HL1 based servers). But he can play on source. Ultimately though, it's a nice plugin.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    devicenull
    Veteran Member
    Join Date: Mar 2004
    Location: CT
    Old 11-25-2008 , 18:58   Re: VAC Status Checker
    Reply With Quote #3

    Quote:
    Originally Posted by FlyingMongoose View Post
    The problem with this is, there are some odd half-vac bans out there, some old false positives thanks to early versions of x-fire, and a number of other oddities. I have a friend who didn't hack, but he used x-fire, now he's vac banned on all non-source servers that are VAC enabled (IE HL1 based servers). But he can play on source. Ultimately though, it's a nice plugin.
    Valve reversed these bans, just like they did for HLSS and Wine.
    __________________
    Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
    devicenull is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 11-25-2008 , 21:58   Re: VAC Status Checker
    Reply With Quote #4

    I wish that were the case for my friend, they never reversed him. And he did contact support. Their immediate response: "VAC IS NEVER WRONG" (in all caps just like that)
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 11-26-2008 , 03:18   Re: VAC Status Checker
    Reply With Quote #5

    Thought I love what you wrote this plugin can be dangerous as it wasnt supposed to be doing this across engines. If people do something wrong in one engine it affects all games under that engine and not the others. I personally think putting this on servers would be a bad idea.
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    StevoTVR
    Senior Member
    Join Date: Oct 2008
    Old 11-26-2008 , 14:46   Re: VAC Status Checker
    Reply With Quote #6

    Quote:
    Originally Posted by tcviper View Post
    Thought I love what you wrote this plugin can be dangerous as it wasnt supposed to be doing this across engines. If people do something wrong in one engine it affects all games under that engine and not the others. I personally think putting this on servers would be a bad idea.
    I don't see why. Some server admins would prefer not to separate hackers based on engine. To them, a hacker is a hacker.
    StevoTVR is offline
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 11-26-2008 , 16:29   Re: VAC Status Checker
    Reply With Quote #7

    thats why we have steambans.com
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    Tournevis_man
    Junior Member
    Join Date: Apr 2008
    Old 11-29-2008 , 10:38   Re: VAC Status Checker
    Reply With Quote #8

    Here's the french version

    "Phrases"
    {
    "Kicked"
    {
    "en" "You were kicked due to a previous VAC violation."
    "de" "Du wurdest aufgrund einer früheren VAC Verletzung gekickt."
    "es" "Has sido kickeado debido a una violación de VAC anterior."
    "fr" "Vous avez été kické par le VAC pour une triche antérieure."
    }
    "Banned"
    {
    "en" "You have been banned due to a previous VAC violation."
    "de" "Du wurdest aufgrund einer früheren VAC Verletzung gebannt."
    "es" "Has sido baneado debido a una violación de VAC anterior."
    "fr" "Vous avez été banni par le VAC pour une triche antérieure."
    }
    "Banned_Server"
    {
    "#format" "{1:s}"
    "en" "{1} banned due to a previous VAC violation."
    "de" "{1} aufgrund einer früheren VAC Verletzung gebannt."
    "es" "{1} baneado debido a una violación de VAC anterior."
    "fr" "{1} Kické pour une violation antérieure du VAC."
    }
    }

    Thanks for your plugin
    __________________
    [IMG]http://img147.**************/img147/953/2398ka6.png[/IMG]
    Tournevis_man is offline
    Archangel_Dm
    Junior Member
    Join Date: Mar 2009
    Old 04-11-2009 , 00:22   Re: VAC Status Checker
    Reply With Quote #9

    Russian translation

    Code:
        "Phrases"
      {
          "Kicked"
          {
              "ru"        "Вас кикнули из-за предыдущих нарушений замеченных системой VAC."
      }
          "Banned"
          {
              "ru"        " Вас забанили из-за предыдущих нарушений замеченных системой VAC."
      }
          "Banned_Server"
          {
              "#format"    "{1:s}"
              "ru"        "{1} забанен из-за предыдущих нарушений замеченных системой VAC."
          }
      }
    Archangel_Dm is offline
    dirtyjob
    Senior Member
    Join Date: Jul 2007
    Location: Boston,MA
    Old 11-28-2008 , 19:22   Re: VAC Status Checker
    Reply With Quote #10

    so if set to "2" it only logs players that have a prior cheat infraction?
    __________________

    dirtyjob is offline
    Send a message via AIM to dirtyjob
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 12:58.


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