Using it

Hiding cosmetics

Cosmetics are hidden (and display entities removed) while the player is:

  • in spectator mode (hide.spectator);
  • vanished (hide.vanish): any plugin that sets the vanished metadata, such as SuperVanish, PremiumVanish and Essentials;
  • invisible from the potion effect (hide.invisible);
  • dead;
  • in a world listed in disabled-worlds;
  • in a WorldGuard region where the mccosmetics flag is deny.
/rg flag spawn mccosmetics deny

The flag is registered automatically when WorldGuard is installed and hooks.worldguard is true. Previews are refused in hidden places too.