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
ConstructorsConstructorDescriptionAuto(@NonNull PlotAreaManager plotAreaManager, @NonNull EventDispatcher eventDispatcher, @NonNull EconHandler econHandler, @NonNull com.intellectualsites.services.ServicePipeline servicePipeline) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckAllowedPlots(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ)booleanonCommand(PlotPlayer<?> player, String[] args)Methods inherited from class com.plotsquared.core.command.SubCommand
executeMethods 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 com.intellectualsites.services.ServicePipeline servicePipeline)
-
-
Method Details
-
checkAllowedPlots
public static boolean checkAllowedPlots(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) -
onCommand
- Specified by:
onCommandin classSubCommand
-