Class CommandColor

java.lang.Object
org.kingdoms.commands.KingdomsCommand
org.kingdoms.commands.general.misc.CommandColor

public class CommandColor extends KingdomsCommand
  • Constructor Details

    • CommandColor

      public CommandColor()
  • Method Details

    • execute

      public void execute(CommandContext context)
      Overrides:
      execute in class KingdomsCommand
    • getColorPicker

      public static org.kingdoms.gui.InteractiveGUI getColorPicker(org.bukkit.entity.Player player, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> handlers)
    • getColorPicker

      public static org.kingdoms.gui.InteractiveGUI getColorPicker(org.bukkit.entity.Player player, Color currentColor, BiConsumer<String,Color> onChoose, Consumer<org.kingdoms.gui.InteractiveGUI> handlers)
    • isColorInRange

      public static boolean isColorInRange(boolean admin, Color color)
    • tabComplete

      public @NonNull List<String> tabComplete(CommandTabContext context)
      Overrides:
      tabComplete in class KingdomsCommand