Class ReloadCommand
java.lang.Object
com.ryandw11.structure.commands.cstruct.ReloadCommand
- All Implemented Interfaces:
SubCommand
The reload command for the plugin.
/cstruct reload
-
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
-
ReloadCommand
-
-
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.
-