Are you trying to use any TCL that requires GeoIP database like BlackCountry tcl by BLaCkShaDoW?
The script will ban all IPs which are in countries added to the blacklist.
You can add both full name and/or countries shortcut.
For enable the script: !country <on>/<off> or .chanset #channel +bcountry
Add locations/countries: !country add <locatie> (Ex: US sau United States)
List all blacklisted countries: !country list
Remove countries from the blacklist: !country del <number> (from the blacklist)
For informations: !country help
+++ ATTENTION ++++ You must have 'package GeoIP' for the script to work.
cd /usr/share/GeoIP
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
gunzip GeoIP.dat.gz
mv -v GeoIP.dat /usr/share/GeoIP/GeoIP.dat
If you try to download the GeoIP.dat.gz, you will get an error like this:
Resolving geolite.maxmind.com (geolite.maxmind.com)... failed: Name or service n ot known.
wget: unable to resolve host address ‘geolite.maxmind.com’
[root@sisrv GeoIP]# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
--2020-05-13 10:15:14-- http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
Resolving geolite.maxmind.com (geolite.maxmind.com)... failed: Name or service not known.
wget: unable to resolve host address ‘geolite.maxmind.com’
Try the file we have uploaded for you:
# cd /usr/share/GeoIP
# wget https://sisrv.net/files/eggdrop-tcl/GeoIP.dat.gz
# gunzip GeoIP.dat.gz
# mv -v GeoIP.dat /usr/share/GeoIP/GeoIP.dat
We hope this will help you use your TCL's without any issues.