Home›Java›Mods›Country Blocker
ModsJava

Country Blocker

Java mod listed for Minecraft 1.8–1.13. Download on the author's site.

⬇ Download on Spigot
Country Blocker is a BungeeCord plugin that you can use to deny access to your server from specific countries.
This plugin is using MaxMind GeoIP API to locate player country on connection.

FEATURES
COMMANDS

Commands can only be used from console and not in-game

/ country - main command (useless)
/ country add COUNTRYCODE - add the country to the configuration file
/ country remove COUNTRYCODE - remove the country from the configuration file
/ country reload - reload the configuration
/ country list - list all the countries that are blocked

COUNTRYCODE

Country Codes are used for the configuration, you have to enter a 2-Letters word which can be found on : https://dev.maxmind.com/geoip/legacy/codes/iso3166/

For example if you want to block the access from United Kingdom :
/country add GB

CONFIG FILE

The default config.yml is the following :
Code (YAML):
#To enable the plugin put this option to true
enable
: true
#This is the message the players will receive if their countries are blocked
msgblock
: "You cannot connect because you're country is blacklisted"
#You can log block users attempting to connect with their blocked country
logger
: false
#You can find a list of aliases for countries on this site : https://dev.maxmind.com/geoip/legacy/codes/iso3166/
#Just add it to the list and reload with /country reload in the console (not ingame) or restart your proxy
listcountries
:
- A1
USAGE

1. Put the plugin in your BungeeCord plugins folder
2. Start your server
3. Ensure that everything is started correctly
4. Enjoy

SUPPORT

If you have a problem with the plugin, please contact me on Discord at Bakalexis#0001
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Country Blocker is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,250 times (via Spigot). Download it and open it directly in the game.

Explore more