Class StringFlag<F extends StringFlag<F>>
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<String,F>
com.plotsquared.core.plot.flag.types.StringFlag<F>
- Direct Known Subclasses:
DescriptionFlag
,DoneFlag
,FarewellFlag
,GreetingFlag
Plot flag representing a string value.
This should be used where strings are not "keys" themselves, e.g. when setting enums
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get if the flag's permission should check for values.Methods inherited from class com.plotsquared.core.plot.flag.PlotFlag
canEqual, createFlagInstance, equals, flagOf, getExample, getFlagCategory, getFlagDescription, getFlagName, getName, getTabCompletions, getValue, hashCode, merge, parse, toString
-
Constructor Details
-
Method Details
-
isValuedPermission
Description copied from class:PlotFlag
Get if the flag's permission should check for values. E.g. plots.flag.set.music.VALUE- Overrides:
isValuedPermission
in classPlotFlag<String,
F extends StringFlag<F>> - Returns:
- if valued permission
-