Class CommandColor
java.lang.Object
org.kingdoms.commands.KingdomsCommand
org.kingdoms.commands.general.misc.CommandColor
-
Field Summary
Fields inherited from class org.kingdoms.commands.KingdomsCommand
aliases, bypassCooldownPermission, bypassDisabledWorldsPermission, COLORIZE_TAB_COMPLETES, cooldown, description, disabledWorlds, name, parent, path, permission, plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(CommandContext context) static org.kingdoms.gui.InteractiveGUIgetColorPicker(org.bukkit.entity.Player player, Color currentColor, BiConsumer<String, Color> onChoose, Consumer<org.kingdoms.gui.InteractiveGUI> handlers) static org.kingdoms.gui.InteractiveGUIgetColorPicker(org.bukkit.entity.Player player, Group group, Consumer<org.kingdoms.gui.InteractiveGUI> handlers) static booleanisColorInRange(boolean admin, Color color) tabComplete(CommandTabContext context) Methods inherited from class org.kingdoms.commands.KingdomsCommand
canBypassCooldown, canBypassDisabledWorlds, emptyTab, equals, executeX, getAliases, getCooldown, getDescription, getDisabledWorlds, getDisplayName, getName, getParent, getPermission, getPlayer, getUsage, hashCode, hasPermission, hasPermission, isDisabled, joinArgs, joinArgs, lang, parseBool, processTabMessage, setPermissionDefault, tabComplete, tabComplete, tabComplete, tabComplete, toString, unregisterPermissions
-
Constructor Details
-
CommandColor
public CommandColor()
-
-
Method Details
-
execute
- Overrides:
executein classKingdomsCommand
-
getColorPicker
-
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
-
tabComplete
- Overrides:
tabCompletein classKingdomsCommand
-