Skip to main content
Version: 0.0.55

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

extra_cfg.yml
EnablePlugins:
- GeoIPPlugin

Example configuration

plugin_geo_ip_cfg.yml
DatabasePath: <path to GeoLite2-City.mmdb>