Package com.plotsquared.core.command
Class DatabaseCommand
java.lang.Object
com.plotsquared.core.command.Command
com.plotsquared.core.command.SubCommand
com.plotsquared.core.command.DatabaseCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.command.Command
Command.CommandException, Command.CommandResult
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseCommand(@NonNull PlotAreaManager plotAreaManager, @NonNull EventDispatcher eventDispatcher, @NonNull PlotListener plotListener, @NonNull YamlConfiguration worldConfiguration)
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
insertPlots(SQLManager manager, List<Plot> plots, PlotPlayer<?> player)
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
-
DatabaseCommand
@Inject public DatabaseCommand(@NonNull PlotAreaManager plotAreaManager, @NonNull EventDispatcher eventDispatcher, @NonNull PlotListener plotListener, @NonNull YamlConfiguration worldConfiguration)
-
-
Method Details
-
insertPlots
-
onCommand
- Specified by:
onCommand
in classSubCommand
-