Class GetItemCommand
java.lang.Object
com.ryandw11.structure.commands.cstruct.GetItemCommand
- All Implemented Interfaces:
SubCommand
The Get Item command for the plugin.
Permission: customstructures.getitem
/cstruct getitem {key}
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
subCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)
The sub command.
-
Constructor Details
-
GetItemCommand
-
-
Method Details
-
subCommand
public boolean subCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)Description copied from interface:SubCommand
The sub command.- Specified by:
subCommand
in interfaceSubCommand
- Parameters:
sender
- The sender.cmd
- The command.s
- The command string.args
- The arguments. (Does not include the subcommand name. So args.length for `/cstruct test` is 0.)- Returns:
- If the sub-command is valid.
-