Uses of Class
com.plotsquared.core.util.query.PlotQuery
Packages that use PlotQuery
-
Uses of PlotQuery in com.plotsquared.core.util.query
Methods in com.plotsquared.core.util.query that return PlotQueryModifier and TypeMethodDescription@NonNull PlotQueryPlotQuery.allPlots()Query for all plots@NonNull PlotQueryPlotQuery.expiredPlots()Query for expired plots@NonNull PlotQueryPlotQuery.hasOwner()Query only for plots that have an owner@NonNull PlotQueryQuery for plots in a single area@NonNull PlotQueryPlotQuery.inAreas(@NonNull Collection<PlotArea> areas) Query for plots in specific areas@NonNull PlotQueryQuery for plots in all areas in a worldstatic PlotQueryPlotQuery.newQuery()Create a new plot query instance@NonNull PlotQueryPlotQuery.noPlots()Don't query at all@NonNull PlotQueryPlotQuery.ownedBy(@NonNull PlotPlayer<?> owner) Query for plots owned by a specific player@NonNull PlotQueryQuery for plots owned by a specific player@NonNull PlotQueryPlotQuery.ownersInclude(@NonNull PlotPlayer<?> owner) Query for base plots where one of the merged plots is owned by a specific player@NonNull PlotQueryPlotQuery.ownersInclude(@NonNull UUID owner) Query for base plots where one of the merged plots is owned by a specific player@NonNull PlotQueryPlotQuery.plotsBySearch(@NonNull String searchTerm) Query for plots based on a search term@NonNull PlotQueryPlotQuery.relativeToArea(@NonNull PlotArea plotArea) Defines the area around which plots may be sorted, depending on the sorting strategy@NonNull PlotQueryPlotQuery.sorted(@NonNull Comparator<Plot> comparator) Use a custom comparator to sort the results@NonNull PlotQueryPlotQuery.thatPasses(@NonNull Predicate<Plot> predicate) Query for plots that passes a given predicate@NonNull PlotQueryPlotQuery.whereBasePlot()Query for base plots only@NonNull PlotQueryQuery for plots with a specific alias@NonNull PlotQueryPlotQuery.withMember(@NonNull UUID member) Query for plots with a specific member (added/trusted/owner)@NonNull PlotQueryQuery with a pre-defined result@NonNull PlotQueryPlotQuery.withSortingStrategy(@NonNull SortingStrategy strategy) Specify the sorting strategy that will decide how to sort the results.