Class PlotSpecificPlaceholder
java.lang.Object
com.plotsquared.core.util.placeholders.Placeholder
com.plotsquared.core.util.placeholders.PlotSpecificPlaceholder
- Direct Known Subclasses:
PlotFlagPlaceholder
A
placeholder
that requires a plot
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue
(@NonNull PlotPlayer<?> player) Get the value of the placeholder for a particular playergetValue
(@NonNull PlotPlayer<?> player, @NonNull Plot plot) Methods inherited from class com.plotsquared.core.util.placeholders.Placeholder
getKey
-
Constructor Details
-
PlotSpecificPlaceholder
-
-
Method Details
-
getValue
Description copied from class:Placeholder
Get the value of the placeholder for a particular player- Specified by:
getValue
in classPlaceholder
- Parameters:
player
- Player- Returns:
- Placeholder value. Return
""
if no placeholder value can be returned
-
getValue
- Parameters:
player
- Player that the placeholder is evaluated forplot
- Plot that the player is in- Returns:
- Placeholder value, or
""
if the placeholder does not apply
-