Country Blocker icon

Country Blocker -----

A plugin to deny the access to specific countries



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
  • Deny access to specific countries
  • Configure the countries that will be restricted
  • Enable and disable plugin from configuration
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
Resource Information
Author:
----------
Total Downloads: 1,203
First Release: Feb 24, 2019
Last Update: May 5, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings