Class ColorCommand

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

public class ColorCommand extends GlowVanillaCommand
A built-in command to demonstrate all chat colors.
  • Constructor Details

    • ColorCommand

      public ColorCommand()
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, String commandLabel, 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
      commandLabel - 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