View Single Post
StevoTVR
Senior Member
Join Date: Oct 2008
Old 02-21-2017 , 13:41   Re: VAC Status Checker (v.2.0.0 2/21/17)
Reply With Quote #279

I just released a major version update (2.0.0). The plugin now uses data from the Steam Web API instead of the public Steam Community profiles. This means the plugin can now detect game, Steam Community, and economy bans in addition to VAC bans. The source code has also been cleaned up and updated to the new syntax.

The translation file has been replaced, so new translations are needed. If you can provide translations, that would be very much appreciated.

I tested it the best I could, but there are a lot of changes in this version. If there are any issues, please let me know.

Here are the changes:
  • Switched to the Steam Web API
  • Added detection of game, Steam Community, and trade bans
  • Added ConVars to control the types of bans that are detected
  • Added option to ignore VAC bans after a specified number of days
  • Added admin command to list the bans of connected clients
  • Changed the default action to kick
  • Changed the default cache time to 1 day
  • Added fallback to cached data when there is an error
  • Fixed new database connections being created on every map change

Here are all the new console variables:
Code:
// 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"
There is also a new admin command, sm_vacbans_list, which lists all the bans of connected clients. This also replaces sm_listvac as the override to control who sees the admin messages. The default access level required is kick.
StevoTVR is offline