Simple Anti Advertising v2.0 – AMX Mod X Plugin for CS 1.6

Simple Anti Advertising v2.0 is a lightweight AMX Mod X plugin for Counter-Strike 1.6 servers that helps prevent players from advertising other servers and restricted websites through their player names and chat messages.

The plugin automatically checks player names, blocks restricted links in public and team chat, and supports whitelists to avoid filtering trusted community domains.

Features

  • Dynamic Name Checking: Checks player names when players connect and change their names. Names containing restricted content are automatically replaced.
  • Chat Filtering: Intercepts say and say_team messages, blocking messages that contain restricted advertising terms.
  • Whitelist Support: Allows trusted domains, such as your community forum or Discord invite, to bypass the filter.
  • Random Name Replacements: Supports the {RAND} tag to generate a random four-digit number in replacement names.

Configuration

On its first load, the plugin generates its configuration file at:

amxmodx/configs/anti_advertiser.ini

The configuration is divided into three sections.

Restricted – Words and patterns to block:

[Restricted]
cs.
zp.
http
unnamed
27015
www
.com

Whitelist – Trusted domains that should not be blocked:

[Whitelist]
yourforum.com
discord.gg/yourserver

Replacements – Names used to replace advertising names:

[Replacements]
Server | Player [{RAND}]
Server_Guest_{RAND}

You can customize these lists to suit your server’s needs.

Installation

  1. Compile anti_advertiser.sma using the AMX Mod X compiler.
  2. Upload anti_advertiser.amxx to your amxmodx/plugins/ directory.
  3. Add anti_advertiser.amxx to amxmodx/configs/plugins.ini.
  4. Restart the server or change the map to generate the configuration file.

Simple Anti-Advertising keeps server clean

Simple Anti Advertising v2.0 is a straightforward anti-advertising plugin for CS 1.6 using AMX Mod X. With automatic name replacement, chat filtering, configurable restrictions, and whitelist support, it helps server administrators reduce unwanted server advertisements without adding unnecessary complexity.

Author: Zero