Skip to content

Vanish -> Map ? #63

@FidoScamander

Description

@FidoScamander

Hi! I wanted to report a possible issue with EliteEssentials vanish/map hiding.

We are using EliteEssentials 2.0.7 and in the config we have:

"vanish": {
  "enabled": true,
  "hideFromList": true,
  "hideFromMap": true,
  "mimicJoinLeave": true,
  "persistOnReconnect": true,
  "suppressJoinQuitMessages": true,
  "showReminderOnJoin": true,
  "mobImmunity": true,
  "hideChat": false
}

When a player enables vanish, other players can no longer see them online and their character is hidden correctly. However, if another player opens the map, the vanished player’s pointer/marker can still be visible.

We are not 100% sure if the issue is only inside EliteEssentials, because the server also has SimpleClaims installed. SimpleClaims is configured with:

"RenderMapInClaimUI": true,
"ForceSimpleClaimsChunkWorldMap": true

So it may be worth testing with SimpleClaims installed too, in case its custom world map provider affects how player markers are filtered.

That said, while looking into the EliteEssentials jar, it looked like the vanish map filter might be checking whether the player is vanished instead of checking whether the player is not vanished. So maybe the map filter logic around hideFromMap needs to be inverted or refreshed when vanish is toggled.

Expected behavior:

  • vanished player should be hidden from player list;
  • vanished player entity should be hidden;
  • vanished player marker/pointer should also disappear from the map when hideFromMap is true.

Actual behavior:

  • list hiding works;
  • entity hiding works;
  • map marker may still be visible.

Could you please check this when you have time? It may also be useful to test with SimpleClaims installed, since it modifies/forces the chunk world map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions