public class AnalyzeCommand extends SubCommand
Constructor and Description |
---|
AnalyzeCommand(Plan plugin)
Subcommand Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onCommand(org.bukkit.command.CommandSender sender,
org.bukkit.command.Command cmd,
String commandLabel,
String[] args)
The Command Execution method.
|
void |
sendAnalysisMessage(org.bukkit.command.CommandSender sender)
Used to send the message after /plan analysis.
|
getArguments, getCommandType, getFirstName, getName, getPermission, getUsage
public AnalyzeCommand(Plan plugin)
plugin
- Current instance of Planpublic boolean onCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String commandLabel, String[] args)
SubCommand
onCommand
in class SubCommand
sender
- Parameter of onCommand in CommandExecutor.cmd
- Parameter of onCommand in CommandExecutor.commandLabel
- Parameter of onCommand in CommandExecutor.args
- Parameter of onCommand in CommandExecutor.CommandExecutor
public void sendAnalysisMessage(org.bukkit.command.CommandSender sender)
sender
- Command sender.Copyright © 2017. All rights reserved.