Grief Prevention GUI Addon
  • Getting Started
    • Welcome
    • Plugin Information
  • Getting Started
  • Placeholders
  • GUI SYSTEM
    • GUI Overview
  • Themes
  • Available GUIs
  • Custom User-Defined GUIs
  • GUI Configuration Files
  • GUI Settings in config.yml
  • Usage Notes and Troubleshooting
  • Flag System
    • Flag Overview
    • Built-in Flags
    • Configuration Files
    • GPFlags Integration
    • Usage Notes and Troubleshooting
  • GUI System
Powered by GitBook
On this page

Custom User-Defined GUIs

Admins can define custom GUIs in config.yml under gui.custom_guis. These GUIs are loaded by the plugin and must follow specific naming and configuration rules.

  • Definition: List custom GUIs in config.yml under gui.custom_guis (e.g., ClaimUpgradeBiomeSelector).

  • File Naming: The plugin loads the corresponding YAML file with _EN appended to the name (e.g., ClaimUpgradeBiomeSelector loads ClaimUpgradeBiomeSelector_EN.yml).

  • GUI Type: The gui_type In the GUI file’s data section must exactly match the name listed in gui.custom_guis (e.g., ClaimUpgradeBiomeSelector).

  • File Location: Custom GUI files must be placed in the GUI folder alongside default GUI files.

Example:

  • In config.yml:

    gui:
      custom_guis:
        - ClaimUpgradeBiomeSelector
  • The plugin loads ClaimUpgradeBiomeSelector_EN.yml, and its data section must include gui_type: ClaimUpgradeBiomeSelector.

PreviousAvailable GUIsNextGUI Configuration Files

Last updated 1 month ago