Description
This plugin removes site/server adverts from player names and from chat. Every player name and chat message goes through double check: for containing domain names and for containing IP addresses.
Top Level Domain list is obtained from IANA (iana.org) every time this plugin loads.
Includes protection from masking characters with similar unicode characters: 213.248.15.234 -> ᒿ1ვ.ᒿᏎ৪.1Ƽ.ᒿვᏎ will not help!

Installation
1. Download and unpack latest release of this plugin to your server folder
Launch by (you can add this to cfg/autoexec.cfg):
Code: Select all
sp plugin load adpurge
Configuration
There's a file addons/source-python/data/plugins/adpurge/tlds-source.url.txt that holds an URL to the TLD list.
Known issues
National domains (e.g. .рф) are ignored