Skip to content

LemonPAKA/Anti-Private

 
 

Repository files navigation

CIDR Blocker

Kicks private profile & inventory

Travis CI Status Issues Downloads


Convar

  • sm_anti_private_inventory Whether or not to check for private inventory (0 - Disable Inventory Checking, 1 - Enable Inventory Checking) [Default: 1.0] (Min: 0.0) (Max: 1.0)

  • sm_anti_private_deal_method Method of action when private profile/inventory has been detected (1 - Kick, 2 - Warn) [Default: 1.0] (Min: 1.0) (Max: 2.0)

  • sm_anti_private_fail_method Method of action when the plugin fails to fetch result (1 - Nothing, 2 - Kick), if you are checking csgo inventory plz set it to 2 [Default: 1.0] (Min: 1.0) (Max: 2.0)

  • sm_anti_private_log Whether or not to log HTTP requests to file (0 - Disable logging, 1 - Enable logging) [Default: 1.0] (Min: 0.0) (Max: 1.0)

  • sm_anti_private_key Steam Developer API Key; Required for this plugin to work

Prerequisites

Installation

  1. Extract Anti_Private.smx to /addons/sourcemod/plugins

  2. Extract anti_private.phrases.txt to /addons/sourcemod/translations

  3. Load the plugin (sm plugins load Anti_Private), change the map, OR restart the server

  4. Edit /cfg/sourcemod/anti_private.cfg

  5. Reload the plugin (sm plugins reload Anti_Private), change the map, OR restart the server

Notes

  • Profiles that aren't configured are also blocked
  • Friends-only will be considered private as long as the owner of the API key is not friend with that individual
  • Steam takes account of owner's relation to their API
  • With high traffic servers, you may exceed Steam's API rate limit
  • Since this plugin depends on Steam, during Steam maintenance/outage (Tuesday), this plugin may not work

Translations

If you wish to contribute to the phrases file, please fork this repository and open a pull request

Download

Download the latest version from the release page

Credit

LemonPAKA added Simplified Chinese Translation and CSGO Inventory Private Check(it works but I am still want someone make a better version).

License

GPL-3.0

Icon made by Freepik from http://www.flaticon.com/

About

A sourcemod plugin that kicks private profile & inventory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SourcePawn 100.0%