Plugin
, TabExecutor
JavaPlugin
, PluginBase
public interface CommandExecutor
Modifier and Type | Method | Description |
---|---|---|
boolean |
onCommand(CommandSender sender,
Command command,
java.lang.String label,
java.lang.String[] args) |
Executes the given command, returning its success
|
boolean onCommand(CommandSender sender, Command command, java.lang.String label, java.lang.String[] args)
sender
- Source of the commandcommand
- Command which was executedlabel
- Alias of the command which was usedargs
- Passed command argumentsCopyright © 2018. All rights reserved.