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.ymlundergui.custom_guis(e.g.,ClaimUpgradeBiomeSelector).File Naming: The plugin loads the corresponding YAML file with
_ENappended to the name (e.g.,ClaimUpgradeBiomeSelectorloadsClaimUpgradeBiomeSelector_EN.yml).GUI Type: The
gui_typeIn the GUI file’sdatasection must exactly match the name listed ingui.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: - ClaimUpgradeBiomeSelectorThe plugin loads
ClaimUpgradeBiomeSelector_EN.yml, and itsdatasection must includegui_type: ClaimUpgradeBiomeSelector.
Last updated