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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet 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
public boolean isValuedPermission()Description copied from class:PlotFlagGet if the flag's permission should check for values. E.g. plots.flag.set.music.VALUE- Overrides:
isValuedPermissionin classPlotFlag<String,F extends StringFlag<F>> - Returns:
- if valued permission
-