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 TypeMethodDescriptionPlotQuery.allPlots()Query for all plotsPlotQuery.expiredPlots()Query for expired plotsQuery for plots in a single areaPlotQuery.inAreas(@NonNull Collection<PlotArea> areas) Query for plots in specific areasQuery for plots in all areas in a worldstatic PlotQueryPlotQuery.newQuery()Create a new plot query instancePlotQuery.noPlots()Don't query at allPlotQuery.ownedBy(@NonNull PlotPlayer<?> owner) Query for plots owned by a specific playerQuery for plots owned by a specific playerPlotQuery.ownersInclude(@NonNull PlotPlayer<?> owner) Query for base plots where one of the merged plots is owned by a specific playerPlotQuery.ownersInclude(@NonNull UUID owner) Query for base plots where one of the merged plots is owned by a specific playerPlotQuery.plotsBySearch(@NonNull String searchTerm) Query for plots based on a search termPlotQuery.relativeToArea(@NonNull PlotArea plotArea) Defines the area around which plots may be sorted, depending on the sorting strategyPlotQuery.sorted(@NonNull Comparator<Plot> comparator) Use a custom comparator to sort the resultsPlotQuery.thatPasses(@NonNull Predicate<Plot> predicate) Query for plots that passes a given predicatePlotQuery.whereBasePlot()Query for base plots onlyQuery for plots with a specific aliasPlotQuery.withMember(@NonNull UUID member) Query for plots with a specific member (added/trusted/owner)Query with a pre-defined resultPlotQuery.withSortingStrategy(@NonNull SortingStrategy strategy) Specify the sorting strategy that will decide how to sort the results.