EssentialsX

EssentialsX

2M Downloads

GEOIP at times seems to alter between player name and nickname how do I fix?

axemwa opened this issue · 15 comments

commented

Information

Full output of /ess version:

[19:38:21 INFO]: Server version: 1.13.2-R0.1-SNAPSHOT git-Paper-505 (MC: 1.13.2)
[19:38:21 INFO]: EssentialsX version: 2.16.0.32
[19:38:21 INFO]: LuckPerms version: 4.3.73
[19:38:21 INFO]: Vault version: 1.7.1-b91
[19:38:21 INFO]: EssentialsXGeoIP version: 2.16.0.32

EssentialsX config

https://pastebin.com/sDxFyAv3

GEOIP config

https://pastebin.com/yp7yJDGs

Help request

Problem
GEOIP at times seems to alter between player name and nickname can I choose somehow?
I have java 8 but noticed a warn mentioning java 7 but ess devs said i can ignore it for now but do I need to download java 7 now aswell or instead?

commented

Default players that have

"essentials.geoip.show" permission and can't see the nickname and instead see's the original playername next to the location message when a player joins

but admins with essentials.* permission can see the nickname instead of the original name of the player
when a player joins in that same location message.

Sorry if I didn't explain this well enough I'll post pictures if need be

commented

ok disregard the last comment... it seems to happen randomly for all players alike

commented
commented

LuckPerms

commented
commented

it ok ill do some more testing, I might have done something wrong

commented

Hmm for some reason I had essentials.nick true and essentials.nick.* to false (maybe from when I was testing a seperate nickname managing plugin) Maybe that's what's causing the problem

commented

I got this but I don't have essentials.* false set anywhere

[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.geoip.hide - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.geoip.* - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.geoip.show - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.geoip.show - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.home.compass - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.home.* - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.sleepingignored - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.mail - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.mail - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.fly.safelogin - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.fly.* - undefined
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.* - false
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.speed - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.speed - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.god - true
[06:24:25 INFO]: [LP] VB > shano_dekono - essentials.god - true
[06:24:38 INFO]: [LP] VB > shano_dekono - essentials.motd - true
[06:24:38 INFO]: [LP] VB > shano_dekono - essentials.motd - true

commented

dam nah stil randomly occors, sometimes it happens for admins and other times it happens for default users

commented

Could you run /lp verbose on essentials and see whether there are any issues with permissions checks?

commented

I don't think there's anything you can do at the moment, no. I'd suggest keeping this issue open until there's an actual fix.

commented

I think the reason for this is that sometimes the player's nickname isn't loaded in by the time EssentialsX GeoIP sends the message to the player. According to your log, GeoIP is sending the message before Essentials has even realised the player has started connecting, so the nickname wouldn't be loaded in unless the player had recently disconnected.

commented

is there currently a way around this so that it has more time to read/load the nickname?

commented

as far as I know there is no way to select which you could choose @axemwa, would you prefer it just say their actual display name or nickname?

commented

nickname if the player has one