quantiom/AdvancedVanish

Plugins can't hook into Advanced Vanish

Closed this issue · 5 comments

Pinata Party takes the MetaData value of "vanished" to see if a player is vanished or not from vanish plugins.
According to the developer, advanced vanish can't be used due to this.

"The plugin needs to set the players metadata value of "vanished" to true like every other vanish plugin does and its a universal thing that everyone does"

The latest version, v1.2.5 does do this (https://github.com/quantiom/AdvancedVanish/blob/main/src/main/kotlin/me/quantiom/advancedvanish/util/AdvancedVanishAPI.kt#L42-L43). Please make sure you're using it and see if the issue still persists.

I'm currently using version v1.2.5

[21:17:12 INFO]: AdvancedVanish version 1.2.5
[21:17:12 INFO]: A fully customizable and advanced vanish plugin.
[21:17:12 INFO]: Author: quantiom

You'll need to make sure with the developer of that plugin that the metadata is being checked correctly then because it's definitely being set. I sent the line of code where it happens.

Yeah, that seems like it should work. I even decompiled the latest release on GitHub just to make sure it's there:
image