Please make sure you are using the latest ProtocolLib dev build
Proper 1.19.3 support. Please report any bugs.
Reduced reliance on ProtocolLib and unstable code. Some features have been removed or replaced with new features.
I have decided to no longer rely on ProtocolLib for the core features of this plugin. As many of you have noticed, in the past, whenever Minecraft updated, many core PremiumVanish features stopped working and it took time to update to the new version. This issue has become worse over time, and now even 1.19.3, a supposedly minor Minecraft update, modified so many server internals that it no longer seems feasible to keep relying on unstable code that is outside of my control for PV's core features. Furthermore, ProtocolLib packet adapters caused TPS issues on some servers. As such, I have decided to remove some of the troubling features on 1.19.3+ and instead added new features to replace them. Ultimately, a tiny percentage of the features required an overwhelming amount of work to sustain and I think it is more important to make the plugin more stable, more performant and gain more time for working on other parts of the plugin. All removed features continue to work on versions below 1.19.3.
Improved the Prevention PlayerHider. It is now less likely to be broken by other plugins by using different Bukkit API.
Removed the Interception PlayerHider (Hybrid is now used instead automatically), the HideInTablist and HideInGame options, with which you could be hidden only in-game or only in the tablist by default. You are now always hidden in both when vanished.
The -t flag feature to remain visible in tab is currently broken on 1.19.3+. I will try to bring this option back when ProtocolLib is more stable.
Removed MarkVanishedPlayersAsSpectators and MarkVanishedPlayersWithGlow. I recommend to use the following new feature instead.
Added two new PlaceholderAPI placeholders, %premiumvanish_vanishprefix% and %premiumvanish_vanishsuffix%.
Since these days most servers have a Tablist and Nametag plugin with PlaceholderAPI support, it is better to configure custom prefixes/suffixes for vanished players through those plugins than have PremiumVanish add them. These new placeholders are either empty if the player is not vanished, or return a prefix like "[V] " if the player is vanished. The prefix can be configured in the messages.yml file (see default messages.yml file in resource description).
TargetGlows is currently broken on 1.19.3, but I might be able to bring it back.
The HideSpectatorMode feature is currently broken, but it may come back when ProtocolLib becomes more stable
Added new strings to the messages.yml file for editing the output of the %premiumvanish_isvanished% placeholder (see default messages.yml file in resource description).
By making those changes, PremiumVanish's core features should continue working when Minecraft updates and only some of the optional feature modules will require an update.