πŸ”—PlaceholderAPI Placeholders

πŸ”Œ INTEGRATIONS

PlaceholderAPI Placeholders

Dynamic content and custom GUIPlus placeholders


GUIPlus integrates with PlaceholderAPIarrow-up-right to provide dynamic content in GUIs and registers its own custom placeholders.

πŸ“ Using Placeholders in GUIs

PlaceholderAPI placeholders can be used in nearly every text field:

  • Item display names

  • Item lore lines

  • Click event parameters (commands, messages, amounts)

  • Condition values

  • Skull textures

  • Chat fetcher messages

Example: Dynamic Lore

item-name: Β§6%player_name%'s Profile
item-lore:
  - ''
  - Β§7Balance: Β§a$%vault_eco_balance_formatted%
  - Β§7Level: Β§e%player_level%
  - Β§7Health: Β§c%player_health%
  - ''
  - Β§7Bank: Β§b$%GUIPlus_player_info_deposited%

Lore lines containing placeholders are updated automatically while the GUI is open (every 20 ticks / 1 second).

πŸ”— GUIPlus Custom Placeholders

GUIPlus registers the following custom placeholders under the identifier GUIPlus:

Placeholder
Description
Example

%GUIPlus_player_info_<field>%

Returns a stored player data field value

%GUIPlus_player_info_kills% β†’ 25

%GUIPlus_gui_exist_<id>%

Returns true or false if a GUI with the given ID exists

%GUIPlus_gui_exist_bank% β†’ true

%GUIPlus_gui_title_<id>%

Returns the title of the specified GUI

%GUIPlus_gui_title_bank% β†’ Β§ePersonal Bank

%GUIPlus_gui_rows_<id>%

Returns the number of rows in the specified GUI

%GUIPlus_gui_rows_bank% β†’ 3

%GUIPlus_gui_type_<id>%

Returns the inventory type of the specified GUI

%GUIPlus_gui_type_bank% β†’ CHEST

%GUIPlus_gui_scenes_<id>%

Returns the number of scenes in the specified GUI

%GUIPlus_gui_scenes_bank% β†’ 1

%GUIPlus_self_base64%

Returns the player's skin texture as a Base64 string (for skull items)

Used in skullBase64 field

πŸ’Ύ Player Info Placeholder

The %GUIPlus_player_info_<field>% placeholder is the most commonly used GUIPlus placeholder. It retrieves data saved via the Save Player Info click event.

If the field has not been set for a player, the placeholder returns the string null.

See Player Data for full details on saving and retrieving data.

⭐ Special Placeholders

%input%

Available inside Chat Fetcher nested click events and conditions. Contains the text the player typed in chat.

%player%

The name of the clicking player. Available in all click events.

%executor%

The name of the player who executed the action. Useful in player picker click events where %player% refers to the selected player.

%self_base64%

Used in skull textures to dynamically render the viewing player's skin. See Custom Heads.

🧩 Combining with Other PAPI Plugins

Since GUIPlus supports any PlaceholderAPI placeholder, you can use placeholders from any installed PAPI expansion:


← Previous
Next β†’

Last updated