Class Visibilities

java.lang.Object
org.spongepowered.api.scoreboard.Visibilities

public final class Visibilities extends Object
Visibility names which cause nametags or death messages to be displayed differently to players on a team.
  • Field Details

    • ALWAYS

      public static final DefaultedRegistryReference<Visibility> ALWAYS
      Death messages or nametags are always visible.

      This is the default value.

    • HIDE_FOR_OTHER_TEAMS

      public static final DefaultedRegistryReference<Visibility> HIDE_FOR_OTHER_TEAMS
      Death messages or nametags for members of other teams will not be visible, but death messages or nametags for members of the same team will be visible.
    • HIDE_FOR_OWN_TEAM

      public static final DefaultedRegistryReference<Visibility> HIDE_FOR_OWN_TEAM
      Death messages or nametags for members of other teams will be visible, but death messages or nametags for members of the same team will not be visible.
    • NEVER

      public static final DefaultedRegistryReference<Visibility> NEVER
      Death messages or nametags are never visible.
  • Method Details