NaathySz / SiteAndIPBlocker

A plugin that blocks websites and IP addresses (name + chat), with a configurable whitelist for allowed sites and IPs.
https://ko-fi.com/naathy
6 stars 2 forks source link

SiteAndIPBlocker

A plugin that blocks websites and IP addresses (name + chat), with a configurable whitelist for allowed sites and IPs.

Config

The configuration file will be automatically generated in csgo/addons/counterstrikesharp/configs/plugins/IPAndSiteBlocker/IPAndSiteBlocker.json

{
  "whitelist": [
    "1.1.1.1"
  ],
  "block_message": "{darkred}Blocked: Sending IP addresses or websites is not allowed.",
  "name_action": 1,
  "rename_message": "{darkred}Your name contains a blocked IP address or website. It will be renamed.",
  "admin_immunity": 0,
  "ConfigVersion": 3
}

Available colors

{default}
{white}
{darkred}
{green}
{lightyellow}
{lightblue}
{olive}
{lime}
{red}
{lightpurple}
{purple}
{grey}
{yellow}
{gold}
{silver}
{blue}
{darkblue}
{bluegrey}
{magenta}
{lightred}
{orange}

ko-fi