πΌοΈCreating GUIs
Creating GUIs
π GUI Structure
id: mygui # Unique identifier (required)
type: chest # Inventory type (required)
rows: 3 # Number of rows (chest only, 1-6)
title: Β§6My Menu # Display title shown to players
commandAlias: mymenu # Optional shortcut command to open this GUI
commandAliasTarget: OPTIONAL # OPTIONAL, REQUIRED, or DISABLED
permission: my.perm.node # Optional permission required to view
disable-scene-animation: false # Disable animated scene transitions for this GUI
scenes:
'0': # First scene (zero-indexed)
delay: 0 # Delay in ticks before this scene opens
items:
'1': # Item ID (unique within the scene)
slot: 0 # Inventory slot (0-indexed, left to right, top to bottom)
item: DIAMOND # Material type
amount: 1 # Stack size
item-name: Β§bMy Item # Display name (supports color codes)
item-lore: # Lore lines
- Β§7Description
item-flags: [] # Item flags (HIDE_ENCHANTS, HIDE_ATTRIBUTES, etc.)
unbreakable: false # Whether the item is unbreakable
click-events: # Click event actions (see Click Events page)
message:
message: Β§aHello!
conditions: # Show conditions (see Conditions page)
has-permission:
permission: some.permπ¦ Inventory Types
Type
Size
Description
π’ Slot Numbers
π· Item Properties
Property
Type
Description
β Item Attributes
Field
Description
π¨ Color Codes
Code
Color
Code
Format
π· Command Alias
π― Command Target
Value
Behavior
π‘ Example: Complete Admin Panel
β Previous
Next β
Last updated