Class PlotFlagPlaceholder


public final class PlotFlagPlaceholder extends PlotSpecificPlaceholder
  • Constructor Details

    • PlotFlagPlaceholder

      public PlotFlagPlaceholder(@NonNull PlotFlag<?,​?> flag, boolean local)
  • Method Details

    • getValue

      public @NonNull String getValue(@NonNull PlotPlayer<?> player, @NonNull Plot plot)
      Description copied from class: PlotSpecificPlaceholder
      Get the value of the placeholder for the player in a specific plot
      Specified by:
      getValue in class PlotSpecificPlaceholder
      Parameters:
      player - Player that the placeholder is evaluated for
      plot - Plot that the player is in
      Returns:
      Placeholder value, or "" if the placeholder does not apply