EssentialsX / Essentials

The modern Essentials suite for Spigot and Paper.
https://essentialsx.net
GNU General Public License v3.0
1.96k stars 980 forks source link

EssentialsGeoIP no work #5589

Closed GreatGoal0 closed 11 months ago

GreatGoal0 commented 11 months ago

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=1f75155556534662903bfbe864542d8c

Error log (if applicable)

No response

Bug description

When using /whois it does not show the complete information such as the location having the maxmind key and the essentials.geoip.show permission

Steps to reproduce

1: set maxmind key in config.yml 2: grant essentials.geoip.show permission to the player who will use /whois 3: use /whois

Expected behaviour

See the player's approximate location (country and continent)

Actual behaviour

Tell the player's location in the world

GreatGoal0 commented 11 months ago

Maxmind has changed some things like its keys, on the page https://essentialsx.net/wiki/GeoIP.html it says to set the "This key will be used for GeoIP update" option to no to create a key, which which is no longer possible and now says New license keys will not work with legacy versions of our GeoIP Update program.

EssentialsGeoIP would need to be updated.

GreatGoal0 commented 11 months ago

IMG_20231203_151054 geoip-step4 b249d622

mdcfe commented 11 months ago

Your screenshots show MaxMind has removed the option to generate legacy keys, but EssentialsX doesn't use these keys - that's the reason the instructions tell you to tick "no". There's nothing in your logs to indicate that the server failed to update the database either, so this is likely user error.

Could you enable /ess debug, try and /whois a player and then share the /ess dump all output?