Class AddonsCommand
java.lang.Object
com.ryandw11.structure.commands.cstruct.AddonsCommand
- All Implemented Interfaces:
SubCommand
The addons command for the plugin.
Permission: customstructures.addon
/cstruct addons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansubCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)The sub command.
-
Constructor Details
-
AddonsCommand
-
-
Method Details
-
subCommand
public boolean subCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String s, String[] args)Description copied from interface:SubCommandThe sub command.- Specified by:
subCommandin 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.
-