-
Notifications
You must be signed in to change notification settings - Fork 0
GUI Reference
BeaconPlus allows you to completely redesign every menu in the plugin. You are not stuck with a hardcoded layout. You can move buttons, change their icons, add decorative glass, or even shrink the menu to a single row.
We use a "Draw it yourself" system. You literally draw the shape of the inventory using characters in the gui.yml file.
- Make it compact: Use 3 rows for a clean, simple look.
- Make it grand: Use 6 rows (Double Chest size) to fit tons of information.
- The Catch: You cannot create "Scrollable" menus or exceed 6 rows (54 slots), as that is a physical limit of the Minecraft client.
In gui.yml, you will see a Layout section. Each character represents one slot.
Menus:
Beacon:
Layout:
- " " # Row 1: Empty air (Space character)
- " GGGGGGG " # Row 2: 'G' (Glass Panes) bordering the middle
- " G B G " # Row 3: 'B' (The Beacon Effect button) in the center
- " GGGGGGG " # Row 4: Border
- " " # Row 5: AirIn this example, the menu is 5 rows tall, with a glass box floating in the middle.
Each character is linked to a specific function in the Items section. Below are the verified default keys used in the plugin.
-
BUpgrade Icon: Displays the current effect. Clicking it opens the Upgrade Menu. -
SChange Language: Opens the Language Selection Menu. -
VAccess List: Opens the Whitelist/Blacklist manager. -
KInfo: Displays Beacon Location & Range. -
LPower Info: Displays Power usage and sources.
-
AToggle Activate: Toggles the effect ON or OFF. -
DMoney Upgrade: Purchase using Server Economy (Vault). -
EXP Upgrade: Purchase using XP Levels. -
FItem Upgrade: Purchase using Items (e.g., Emeralds). -
CUpgrade Info: Displays detailed stats (Next Level, Costs). -
JBack Button: Returns to the previous menu.
-
PPrevious Page: Navigates left in paginated menus. -
INext Page: Navigates right in paginated menus.
-
NAdd Player: Prompts to type a player name to add. -
YAdd Team: Prompts to add a Party/Team (if supported). -
WMode Toggle: Switches list between "Whitelist" and "Blacklist". -
ZThe Entry: Represents a player/team currently on the list.
Every button is configured using a standard Item format.
You can use type, amount (default 1), and meta (display name, lore, flags, etc).
MyButton:
type: DIAMOND_SWORD
amount: 1
meta:
display-name: "&bCool Sword"
lore:
- "&7Line 1"
- "&7Line 2"
# Optional: Hide attributes like "Attack Damage"
ItemFlags:
- HIDE_ATTRIBUTES
# Optional: Custom Model Data for resource packs
custom-model-data: 12345Some buttons change based on logic. These do not use a "States" list; instead, the plugin looks for specific keys defined for that item purpose.
-
Activated: The item shown when the setting is ON. -
Deactivated: The item shown when the setting is OFF.
-
Display: The normal item shown. -
Disabled: The item shown if the player cannot afford the upgrade.
-
Display: The normal stats book. -
Maxed Display: The book shown when the effect is at max level.
You can use these placeholders in the Name or Lore of any item to display dynamic info. Note: PlaceholderAPI is also supported if installed!
| Placeholder | Description |
|---|---|
{player_name} |
Name of the player viewing the menu |
{player_display_name} |
Display name of the player |
{beacon_world} |
Name of the world the beacon is in |
{beacon_x}, {beacon_y}, {beacon_z}
|
Coordinates of the beacon block |
{beacon_range} |
Current effective range (e.g. "50") |
{beacon_power} |
Total Pyramid Power available |
{beacon_used_power} |
Power currently being used by effects |
{beacon_free_power} |
Remaining power available |
{beacon_title} |
The title of the beacon (Custom or Default) |
{beacon_custom_name} |
The custom name given to the beacon (if any) |
{mode_name} |
Name of the current Beacon Mode (e.g. "Public") |
Available in Upgrade Menus or Effect Icons
| Placeholder | Description |
|---|---|
{effect_name} |
Display name of the effect (e.g. "Speed") |
{effect_description} |
Description of the effect |
{effect_level} |
Current level number (e.g. "1") |
{effect_level_roman} |
Current level in Roman numerals (e.g. "I") |
{level_status} |
"Activated", "Deactivated", or "Level too low" |
{level_power_consumption} |
How much power the current level uses |
{level_description} |
Description of the current level |
Available in Upgrade Buttons
| Placeholder | Description |
|---|---|
{level_next_tier} |
The level number you are upgrading to |
{level_next_cost} |
The cost amount required for the next level |
{level_next_power_consumption} |
Power usage of the next level |
{cost} |
Formatted cost string (e.g. "$500") |
{economy_name} |
Name of the currency/economy used (e.g. "Vault") |
{economy_currency} |
Currency symbol/name |
{upgrade_cost_list} |
List of all costs required (multi-line) |
Available in Access List Menus
| Placeholder | Description |
|---|---|
{access_list_mode} |
"Whitelist" or "Blacklist" |
{whitelist_count} |
Number of entries on the whitelist |
{blacklist_count} |
Number of entries on the blacklist |
{access_entry_name} |
Name of the player or team on the list card |
{access_entry_type} |
"PLAYER" or "TEAM" |
{access_entry_provider} |
The plugin providing the team (e.g. "Factions") |
Available in Power Info items
| Placeholder | Description |
|---|---|
{power_source_list} |
Formatted list of all power sources fueling the beacon |
{beacon_power_source_name} |
Name of the specific block providing power |
{beacon_power_source_amount} |
Number of blocks of this type |
{beacon_power_source_value} |
Power value per block |
Here is the dictionary of all available Item types and how to configure them.
Note: Config Keys refer to sections under Items.[ItemName]
- Function: Returns to the previous menu.
-
Config Keys:
-
Display: The item to show.
-
- Function: Represents a player or team on the list.
-
Config Keys:
-
Player: Item shown for player entries. -
Team: Item shown for team entries (if supported). -
Empty: Item shown for empty slots.
-
- Function: Switches between Whitelist and Blacklist modes.
-
Config Keys:
-
Whitelist: Item shown when in Whitelist mode. -
Blacklist: Item shown when in Blacklist mode.
-
- Function: Opens a text input to add a player to the list.
-
Config Keys:
-
Display: The button item.
-
- Function: Opens text input/selection to add a team.
-
Config Keys:
-
Display: The button item.
-
- Function: Switch tabs in the Access List GUI.
-
Config Keys:
-
Active: Item shown when this tab is selected. -
Inactive: Item shown when this tab is NOT selected.
-
- Function: Opens the Language Selection Menu.
-
Config Keys:
-
Display: The button item.
-
- Function: Opens mode selection for tier-based effects.
-
Config Keys:
-
Display: The button item.
-
- Function: Represents a Beacon Effect in the selection menu.
-
Config Keys:
-
Display: The item shown for available effects. -
Not Affected: Item shown if the player doesn't have permission/conditions met.
-
- Function: Represents a language choice.
-
Config Keys:
-
Display: The item (usually a flag head).
-
- Function: Represents a mode limit (e.g. Public vs Private) for an effect.
-
Config Keys:
-
Active: Item shown when this mode is ON. -
Inactive: Item shown when this mode is OFF.
-
- Function: Pagination controls.
-
Config Keys:
-
Display: The arrow button. -
No More: (Optional) Item shown when there are no more pages.
-
- Function: Decorative item (like Glass Panes).
-
Config Keys:
-
Display: The item.
-
- Function: Turns the selected effect ON or OFF.
-
Config Keys:
-
Activated: Shown when effect is ON. -
Deactivated: Shown when effect is OFF. -
Level Too Low: Shown if beacon level is 0.
-
- Function: Toggles visual beam animations for the player.
-
Config Keys:
-
Enabled: Shown when animations are ON. -
Disabled: Shown when animations are OFF.
-
- Function: Toggles particles around the physical beacon block.
-
Config Keys:
-
Enabled: Shown when particles are ON. -
Disabled: Shown when particles are OFF.
-
- Function: Toggles visual effects for the player.
-
Config Keys:
-
Enabled: Shown when effects are ON. -
Disabled: Shown when effects are OFF.
-
- Function: Purchases a tier upgrade.
-
Config Keys:
-
Display: Shown when the upgrade is affordable/available. -
Disabled: Shown when the upgrade is too expensive or unavailable. -
Note: These keys are nested under
Items.Upgrade Button.Economy.[Provider].
-
- Function: Opens the Access List management GUI.
-
Config Keys:
-
Display: The button item.
-
- Function: Displays details about the next tier.
-
Config Keys:
-
Display: Shown when there is a next tier available. -
Maxed Display: Shown when the effect is at maximum level.
-
Copy this template to your gui.yml.
# ==========================================
# MENU LAYOUT CONFIGURATION BLUEPRINT
# ==========================================
Menus:
# ----------------------------------------
# MAIN BEACON MENU
# ----------------------------------------
Beacon:
Title: "&1{beacon_title}"
Transition:
Enable: true
Animation: RANDOM
# Layout Keys (Default):
# B = Effect Icon (Items.Upgrade)
# V = Open Access List (Items.Other Items.V)
# K = Range/Location Info (Items.Other Items.K)
# L = Power Info (Items.Other Items.L)
# G = Glass (Items.Other Items.G)
Layout:
- " GGGGGGGGG "
- " G G "
- " G K B L G "
- " G G "
- " G V G "
# ----------------------------------------
# UPGRADE MENU
# ----------------------------------------
Upgrade:
Title: "&1Upgrade {effect_name}"
# Layout Keys (Default):
# A = Toggle Active
# C = Upgrade Info (Stats)
# D = Money Upgrade
# E = XP Upgrade
# J = Back Button
Layout:
- " GGGGGGGGG "
- " G A G "
- " G C B D G "
- " G E G "
- " G J G "
# ==========================================
# ITEM DEFINITIONS
# ==========================================
Items:
# ----------------------------------------
# 1. NAVIGATION & FUNCTIONALITY
# ----------------------------------------
# [J] Back Button
Back:
Layout Key: J
Display:
type: ARROW
meta:
display-name: "&cGo Back"
# ----------------------------------------
# 2. UPGRADE SYSTEM
# ----------------------------------------
# [B] Effect Icon (The Icon in Main Menu)
Upgrade:
Layout Key: B
Display:
type: NETHER_STAR
meta:
display-name: "&b{effect_name}"
lore:
- "&7Level: {effect_level}"
Not Affected:
type: BARRIER
meta:
display-name: "&c{effect_name} (Locked)"
# [A] Toggle Activate (On/Off)
Toggle Activate:
Layout Key: A
Activated:
type: LIME_DYE
meta:
display-name: "&a&lENABLED"
Deactivated:
type: GRAY_DYE
meta:
display-name: "&c&lDISABLED"
Level Too Low:
type: GRAY_DYE
meta:
display-name: "&cLevel too low"
# [D, E] Upgrade Cost Buttons
Upgrade Button:
Economy:
# Requires Vault
Vault:
Layout Key: D
Display:
type: GOLD_INGOT
meta:
display-name: "&eUpgrade with Money"
lore:
- "&7Cost: {cost}"
Disabled:
type: BARRIER
meta:
display-name: "&cCannot Afford: {cost}"
# Requires XP
Level:
Layout Key: E
Display:
type: EXPERIENCE_BOTTLE
meta:
display-name: "&aUpgrade with XP"
# [C] Upgrade Info (Stats)
Upgrade Info:
Layout Key: C
Display:
type: BOOK
meta:
display-name: "&6Stats"
lore:
- "&7Current Range: {beacon_range}"
Maxed Display:
type: BOOK
meta:
display-name: "&6Stats (Maxed)"
# ----------------------------------------
# 3. ACCESS LIST (Special)
# ----------------------------------------
# [V] Open Access List
# Configured in 'Other Items'
Other Items:
V:
Display:
type: WRITABLE_BOOK
meta:
display-name: "&dAccess List"
# [K] Info
K:
Display:
type: BOOK
meta:
display-name: "&eLocation Info"
lore:
- "Range: {beacon_range}"
# [L] Power
L:
Display:
type: BLAZE_POWDER
meta:
display-name: "&6Power Info"
lore:
- "Power: {beacon_power}"
# [G] Glass Border
G:
Display:
type: BLACK_STAINED_GLASS_PANE
meta:
display-name: " "Beacon.yml
All Beacon Effects
- 1. Potion Effect
- 2. Immortality Field
- 3. Potion Duration Boost
- 4. Flight
- 5. Magnet
- 6. Spawner Boost
- 7. Crops Boost
- 8. Keep Chunk Loaded
- 9. Apply Mending
- 10. Command Executor
- 11. Glow
- 12. Attribute Modifier
- 13. Cooldown Reduction
- 14. EXP Boost
- 15. EXP Gain
- 16. Extra Power
- 17. Extra Range
- 18. Fire Control
- 19. Furnace Boost
- 20. Permission
- 21. Prevent Mob Spawning
- 22. Saturation
- 23. Stupid AI