Uses of Class
com.plotsquared.core.plot.flag.PlotFlag
Packages that use PlotFlag
Package
Description
-
Uses of PlotFlag in com.plotsquared.core.configuration.caption
Methods in com.plotsquared.core.configuration.caption with parameters of type PlotFlag -
Uses of PlotFlag in com.plotsquared.core.database
Methods in com.plotsquared.core.database with parameters of type PlotFlagModifier and TypeMethodDescriptionvoidAbstractDB.removeFlag(Plot plot, PlotFlag<?, ?> flag) Remove a plot flag.static voidDBFunc.removeFlag(Plot plot, PlotFlag<?, ?> flag) voidSQLManager.removeFlag(Plot plot, PlotFlag<?, ?> flag) voidSets plot flag.static voidvoid -
Uses of PlotFlag in com.plotsquared.core.events
Methods in com.plotsquared.core.events that return PlotFlagConstructors in com.plotsquared.core.events with parameters of type PlotFlagModifierConstructorDescriptionPlotFlagAddEvent(PlotFlag<?, ?> flag, Plot plot) PlotFlagAddEvent: Called when a Flag is added to a plot.protectedPlotFlagEvent(Plot plot, PlotFlag<?, ?> flag) PlotFlagRemoveEvent(PlotFlag<?, ?> flag, Plot plot) PlotFlagRemoveEvent: Called when a flag is removed from a plot -
Uses of PlotFlag in com.plotsquared.core.plot
Methods in com.plotsquared.core.plot with type parameters of type PlotFlagModifier and TypeMethodDescriptionGet the value associated with the specified flag.<T,V extends PlotFlag<T, ?>>
TPlotArea.getFlag(V flag) Get the value associated with the specified flag.<T,V extends PlotFlag<T, ?>>
TPlotArea.getRoadFlag(V flag) Get the value associated with the specified road flag.Methods in com.plotsquared.core.plot that return types with arguments of type PlotFlagModifier and TypeMethodDescriptionCollection<PlotFlag<?,?>> Plot.getApplicableFlags(boolean ignorePluginFlags) Get flags associated with the plot and the plot area that contains it.Collection<PlotFlag<?,?>> Plot.getApplicableFlags(boolean plotOnly, boolean ignorePluginFlags) Get flags associated with the plot.Plot.getFlags()Get an immutable view of all the flags associated with the plot.Methods in com.plotsquared.core.plot with parameters of type PlotFlagModifier and TypeMethodDescriptionbooleanPlot.removeFlag(@NonNull PlotFlag<?, ?> flag) Remove a flag from this plot<V> booleanSets a flag for the plot and stores it in the database.Method parameters in com.plotsquared.core.plot with type arguments of type PlotFlagModifier and TypeMethodDescription<T> @NonNull TGet the value associated with the specified flag.<T> TGet the value associated with the specified flag.<T> TPlotArea.getRoadFlag(Class<? extends PlotFlag<T, ?>> flagClass) Get the value associated with the specified road flag.booleanPlot.removeFlag(@NonNull Class<? extends PlotFlag<?, ?>> flag) Remove a flag from this plotConstructor parameters in com.plotsquared.core.plot with type arguments of type PlotFlagModifierConstructorDescriptionPlot(@NonNull PlotId id, UUID owner, HashSet<UUID> trusted, HashSet<UUID> members, HashSet<UUID> denied, String alias, BlockLoc position, Collection<PlotFlag<?, ?>> flags, PlotArea area, boolean[] merged, long timestamp, int temp) Constructor for a saved plots (Used by the database manager when plots are fetched) -
Uses of PlotFlag in com.plotsquared.core.plot.flag
Classes in com.plotsquared.core.plot.flag with type parameters of type PlotFlagModifier and TypeClassDescriptionclassA plot flag is any property that can be assigned to a plot, that will alter its functionality in some way.Methods in com.plotsquared.core.plot.flag with type parameters of type PlotFlagModifier and TypeMethodDescription<V,T extends PlotFlag<V, ?>>
voidFlagContainer.addFlag(T flag) Add a flag to the containerstatic <V,T extends PlotFlag<V, ?>>
TFlagContainer.castUnsafe(PlotFlag<?, ?> flag) Cast a plot flag with wildcard parameters into a parametrized PlotFlag.<V,T extends PlotFlag<V, ?>>
TQuery all levels of flag containers for a flag.PlotFlag.getFlagName(Class<F> flagClass) Return the name of the flag.PlotFlag.getFlagNameComponent(Class<F> flagClass) Gets the flag name as a KyoriComponentFlagContainer.queryLocal(Class<?> flagClass) Check for flag existence in this flag container instance.<V,T extends PlotFlag<V, ?>>
VFlagContainer.removeFlag(T flag) Remove a flag from the containerMethods in com.plotsquared.core.plot.flag that return PlotFlagModifier and TypeMethodDescriptionPlotFlag<?,?> FlagParseException.getFlag()Returns the class that threw the exceptionPlotFlag<?,?> FlagContainer.getFlagErased(Class<?> flagClass) Has the same functionality asFlagContainer.getFlag(Class), but with wildcard generic types.PlotFlag<?,?> GlobalFlagContainer.getFlagErased(Class<?> flagClass) PlotFlag<?,?> GlobalFlagContainer.getFlagFromString(String name) Methods in com.plotsquared.core.plot.flag that return types with arguments of type PlotFlagModifier and TypeMethodDescriptionFlagContainer.getFlagMap()Get an immutable view of the underlying flag mapFlagContainer.getInternalPlotFlagMap()Collection<PlotFlag<?,?>> FlagContainer.getRecognizedPlotFlags()Get a collection of all recognized plot flags.Methods in com.plotsquared.core.plot.flag with parameters of type PlotFlagModifier and TypeMethodDescriptionstatic <V,T extends PlotFlag<V, ?>>
TFlagContainer.castUnsafe(PlotFlag<?, ?> flag) Cast a plot flag with wildcard parameters into a parametrized PlotFlag.voidFlagContainer.PlotFlagUpdateHandler.handle(PlotFlag<?, ?> plotFlag, FlagContainer.PlotFlagUpdateType type) Act on the flag update eventMethod parameters in com.plotsquared.core.plot.flag with type arguments of type PlotFlagModifier and TypeMethodDescriptionvoidFlagContainer.addAll(Collection<PlotFlag<?, ?>> flags) Add all flags to the containerConstructors in com.plotsquared.core.plot.flag with parameters of type PlotFlagModifierConstructorDescriptionFlagParseException(PlotFlag<?, ?> flag, String value, Caption errorMessage, TagResolver... args) Construct a new flag parse exception to indicate that an attempt to parse a plot flag was unsuccessful. -
Uses of PlotFlag in com.plotsquared.core.plot.flag.implementations
Subclasses of PlotFlag in com.plotsquared.core.plot.flag.implementationsModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclass -
Uses of PlotFlag in com.plotsquared.core.plot.flag.types
Classes in com.plotsquared.core.plot.flag.types with type parameters of type PlotFlagModifier and TypeClassDescriptionclassBooleanFlag<F extends PlotFlag<Boolean,F>> classclassNumberFlag<N extends Number & Comparable<N>,F extends PlotFlag<N, F>> classTimedFlag<T,F extends PlotFlag<TimedFlag.Timed<T>, F>> Subclasses of PlotFlag in com.plotsquared.core.plot.flag.typesModifier and TypeClassDescriptionclassBlockTypeListFlag<F extends ListFlag<BlockTypeWrapper,F>> classBooleanFlag<F extends PlotFlag<Boolean,F>> classDoubleFlag<F extends NumberFlag<Double,F>> classIntegerFlag<F extends NumberFlag<Integer,F>> classclassLongFlag<F extends NumberFlag<Long,F>> classNonNegativeIntegerFlag<F extends IntegerFlag<F>>classNumberFlag<N extends Number & Comparable<N>,F extends PlotFlag<N, F>> classStringFlag<F extends StringFlag<F>>Plot flag representing a string value.classTimedFlag<T,F extends PlotFlag<TimedFlag.Timed<T>, F>> -
Uses of PlotFlag in com.plotsquared.core.plot.world
Constructor parameters in com.plotsquared.core.plot.world with type arguments of type PlotFlag -
Uses of PlotFlag in com.plotsquared.core.util
Methods in com.plotsquared.core.util with parameters of type PlotFlagModifier and TypeMethodDescriptionEventDispatcher.callFlagAdd(PlotFlag<?, ?> flag, Plot plot) EventDispatcher.callFlagRemove(PlotFlag<?, ?> flag, Plot plot) static booleanEntityUtil.checkEntity(Plot plot, PlotFlag<Integer, ?>... flags) Method parameters in com.plotsquared.core.util with type arguments of type PlotFlagModifier and TypeMethodDescriptionstatic <T> booleanPlotFlagUtil.isAreaRoadFlagsAndFlagEquals(PlotArea area, Class<? extends PlotFlag<T, ?>> flagClass, T value) Check if the value of aPlotFlagmatches the given value. -
Uses of PlotFlag in com.plotsquared.core.util.placeholders
Constructors in com.plotsquared.core.util.placeholders with parameters of type PlotFlag