public class Commands
extends org.bukkit.command.defaults.BukkitCommand
Constructor and Description |
---|
Commands(ShopChest plugin,
String name,
String description,
String usageMessage,
List<String> aliases) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.bukkit.command.CommandSender sender,
String label,
String[] args) |
static void |
registerCommand(org.bukkit.command.Command command,
ShopChest plugin)
Register a command to ShopChest
|
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
public static void registerCommand(org.bukkit.command.Command command, ShopChest plugin) throws ReflectiveOperationException
command
- Command to registerplugin
- Instance of ShopChestReflectiveOperationException
Copyright © 2016. All rights reserved.