Class StopCommand

java.lang.Object
org.bukkit.command.Command
org.bukkit.command.defaults.VanillaCommand
net.glowstone.command.minecraft.GlowVanillaCommand
net.glowstone.command.minecraft.StopCommand

public class StopCommand extends GlowVanillaCommand
In vanilla Minecraft, this command takes no arguments; but as an extension, Glowstone treats any arguments as a custom kick message.
  • Constructor Details

    • StopCommand

      public StopCommand()
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, String label, String[] args, GlowVanillaCommand.CommandMessages commandMessages)
      Description copied from class: GlowVanillaCommand
      Executes the command, returning its success.
      Specified by:
      execute in class GlowVanillaCommand
      Parameters:
      sender - Source object which is executing this command
      label - The alias of the command used
      args - All arguments passed to the command, split via ' '
      commandMessages - Object containing the title, description and permission message in the sender's locale, or set with setters
      Returns:
      true if the command was successful, otherwise false