CountryFilter is a server mod which lets you choose which countries can connect to your server. You can block connections from certain countries and allow all others or allow connections from certain countries and block all others. It does not have to be downloaded by players, it should exist only on the server.
The settings can be changed in CountryFilter.ini, to block or allow a certain country just add the country’s two letter code to the correct line. Countries are separated by commas.
The country codes can be found here:
[CountryFilter.CountryFilter] BlockedCountries=it,no,fr AllowedCountries=
Block connections from Italy,Norway and France and allow everything else.
[CountryFilter.CountryFilter] BlockedCountries= AllowedCountries=pl
Only allow connections from Poland, block everything else.
You need to have Nephthys server security mod installed for CountryFilter mod to work. It can be downloaded from here for versions 1.01 and 1.07:
If you need Nephthys for versions 1.00 or 1.04 leave a comment here and maybe I can help you.