1. Docs
  2. /
  3. BanManager
  4. /
  5. Configuration
  6. /
  7. geoip.yml

geoip.yml

Enables location based information, such as showing which country a player is connected from on join or via /bminfo and allows/blocks certain countries from connecting.

Please note this now requires a license key from MaxMind. Please follow these instructions to generate a license key to paste into licenseKey within your BanManager/geoip.yml.

PlatformLocation
CraftBukkit/Spigot/Paper/plugins/BanManager/geoip.yml
BungeeCord/plugins/BanManager/geoip.yml
Sponge/config/banmanager/geoip.yml
Velocity/plugins/BanManager/geoip.yml
  • enabled - Set to true to enable geoip functionality, defaults to false
  • download
    • city - URL of a Maxmind DB format city data dump
    • country - URL of Maxmind DB format country data dump
    • lastUpdated - A timestamp of when the local Maxmind database copies were last updated. BanManager will automatically download a new copy every week on plugin startup.
  • countries

Example

enabled: true
download:
  city: 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=[licenseKey]&suffix=tar.gz'
  country: 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=[licenseKey]&suffix=tar.gz'
  lastUpdated: 0
  licenseKey: 'yourLicenseKeyHere'
countries:
  type: 'allow'
  list:
  - GB
  - FR

About

  • by James Mortemore © 2012 - 2024