CookieGUI

An Free and simple GUI maker plugin that supports Placeholderapi, color codes and so on

201

Quick challenge

How far can you run before the mobs catch you?

CookieGUI

CookieGUI

Version: 1.2

CookieGUI is a simple GUI plugin made for making GUIs kinda easy to make while not paying for a plugin. CookieGUI supports PlaceholderAPI, Color Codes, and much more you can add actions to things, and you can make multiple GUIs and a lot more

Features

- Hot Reload: Create and edit GUIs without editing any config files - Hot Reload: Assign multiple actions to GUI items - Hot Reload: Use PlaceholderAPI variables to create dynamic GUIs - Hot Reload: Create complex behavior with if statements - Hot Reload: Use placeholders for materials that can change dynamically - Hot Reload: Multiple built-in placeholders for player information (as also stated in Dynamic Content) - Hot Reload: Add color to your GUI titles and messages - Hot Reload: Console commands, player commands, messages, broadcasts, sounds, and more - Hot Reload: Reload GUI configurations without restarting the server

Dependencies

- Optional: PlaceholderAPI (for using placeholders in GUIs)

Commands

Main Commands

- `/gui create <name> <title> [size]` - Create a new GUI - `/gui edit <name>` - Edit an existing GUI - `/gui delete <name>` - Delete a GUI - `/gui list` - List all available GUIs - `/gui reload` - Reload all GUI configurations from disk - `/gui show <name>` - Shows a GUI (also called opening a GUI)

Editing Commands

- `/gui edit <name> <slot> item <material>` - Set an item in a slot - `/gui edit <name> <slot> name <display_name>` - Set the display name of an item - `/gui edit <name> <slot> lore add <text>` - Add a line of lore to an item - `/gui edit <name> <slot> lore set <line> <text>` - Set a specific line of lore - `/gui edit <name> <slot> lore clear` - Clear all lore from an item - `/gui edit <name> <slot> action add <type> <value>` - Add an action to an item - `/gui edit <name> <slot> action remove <type|line>` - Remove an action from an item - `/gui edit <name> <slot> action list` - List all actions on an item - `/gui edit <name> <slot> clear` - Clear a slot

Action Types

- console: Run a command as console - Example: `/gui edit test 0 action add console give [player] diamond 64`

- player: Run a command as the player - Example: `/gui edit test 0 action add player spawn`

- message: Send a message to the player - Example: `/gui edit test 0 action add message &aWelcome to the server!`

- broadcast: Broadcast a message to all players - Example: `/gui edit test 0 action add broadcast &e[player] used a special item!`

- sound: Play a sound to the player - Example: `/gui edit test 0 action add sound ENTITY_PLAYER_LEVELUP:1.0:1.0`

- close: Close the inventory - Example: `/gui edit test 0 action add close`

- open: Open another GUI - Example: `/gui edit test 0 action add open other_menu` - Open for another player: `/gui edit test 0 action add open other_menu:Steve`

- if: Conditional action based on variables - Format: `if:<variable>:<operator>:<value>:<then_action>:[<else_action>]` - Example: `/gui edit test 0 action add if permission equals vip.access console give [player] diamond message You need VIP!`

Operators for If Statements

- <= or <=: Check if values are equal - <= or <=: Check if values are not equal - <=: Check if one value contains another - <=: Check if one value does not contain another - <=: Check if a value starts with another - <=: Check if a value ends with another - <=: Greater than (numeric comparison) - <=: Less than (numeric comparison) - <=: Greater than or equal (numeric comparison) - <=: Less than or equal (numeric comparison)

Special Values

- %placeholder%: Automatically replaced with the player's name - %placeholder% color codes: Used for colored text (e.g., &a for green) - %placeholder%: Any PlaceholderAPI placeholder

Example

Create dynamic items with PlaceholderAPI: ``` /gui create stats &8Stats 54 /gui edit stats 0 item player_head /gui edit stats 0 name &e%player_name%'s Stats /gui edit stats 0 lore add &7Kills: &f%statistic_player_kills% /gui edit stats 0 lore add &7Deaths: &f%statistic_deaths% /gui edit stats 0 lore add &7K/D Ratio: &f%math_kills_div_deaths% ```

Permissions

- cookiegui.reload: Access to the base /gui command (default: op) - cookiegui.reload: Full access to all plugin commands and features (default: op) - Includes all permissions below - cookiegui.reload: Permission to create new GUIs (default: op) - cookiegui.reload: Permission to edit existing GUIs (default: op) - cookiegui.reload: Permission to delete GUIs (default: op) - cookiegui.reload: Permission to list all available GUIs (default: op) - cookiegui.reload: Permission to show GUIs to yourself (default: op) - cookiegui.reload: Permission to show GUIs to other players (default: op) - cookiegui.reload: Permission to reload GUI configurations from disk (default: op)

ADS