Package com.plotsquared.core.command
Class Auto
java.lang.Object
com.plotsquared.core.command.Command
com.plotsquared.core.command.SubCommand
com.plotsquared.core.command.Auto
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.command.Command
Command.CommandException, Command.CommandResult
-
Constructor Summary
ConstructorDescriptionAuto
(@NonNull PlotAreaManager plotAreaManager, @NonNull EventDispatcher eventDispatcher, @NonNull EconHandler econHandler, @NonNull cloud.commandframework.services.ServicePipeline servicePipeline) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkAllowedPlots
(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) boolean
onCommand
(PlotPlayer<?> player, String[] args) Methods inherited from class com.plotsquared.core.command.SubCommand
execute
Methods inherited from class com.plotsquared.core.command.Command
canExecute, check, checkArgs, checkTrue, equals, getAliases, getCommand, getCommand, getCommandById, getCommands, getCommands, getCommands, getCommandString, getDescription, getFullId, getId, getMatch, getParent, getPermission, getRequiredArguments, getRequiredType, getUsage, hasConfirmation, hashCode, init, matches, paginate, register, sendUsage, setRequiredArguments, tab, tabOf, toString
-
Constructor Details
-
Auto
@Inject public Auto(@NonNull PlotAreaManager plotAreaManager, @NonNull EventDispatcher eventDispatcher, @NonNull EconHandler econHandler, @NonNull cloud.commandframework.services.ServicePipeline servicePipeline)
-
-
Method Details
-
checkAllowedPlots
public static boolean checkAllowedPlots(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) -
onCommand
- Specified by:
onCommand
in classSubCommand
-