Skip to main content
Version: 0.0.52

GeoIPPlugin

Plugin to do GeoIP lookups for connected players.

note

Lookups are done locally, so you need a copy of the GeoLite2 city database which you can download here: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en

Log output format:

GeoIP results for {ClientName}: {Country} ({CountryCode}) [{Lat},{Lon}]

Configuration

Enable the plugin in extra_cfg.yml

EnablePlugins:
- GeoIPPlugin

Example configuration (add to bottom of extra_cfg.yml)

---
!GeoIPConfiguration
DatabasePath: <path to GeoLite2-City.mmdb>