GUI Settings in config.yml
The gui
section in config.yml
configures general GUI behavior and allows defining custom GUIs.
Key Settings:
theme
: Sets the default theme for GUIs (default
,nature
,clean
). Individual GUI files can override this via thetheme
field in theirdata
section (e.g.,ClaimUpgradeNoEnter_EN.yml
usesclean_4
).remove_claim_from_warp_list_on_no_enter.enable
: Iftrue
, claims with theNoEnter
flag are excluded from the warp list (default:true
).disable_gui_on_grief_prevention_disabled_worlds
: Iftrue
, GUIs are disabled in worlds where GriefPrevention is disabled (default:false
).claim_list_size_limit
: Limits the number of claims shown inCLAIM_LIST
(default:enable: false
,size: 45
).player_list_size_limit
: Limits the number of players shown inPLAYER_LIST
(default:enable: true
,size: 100
).default_claim_list_icon.material
: Sets the default icon for claims inCLAIM_LIST
(default:GRASS_BLOCK
).default_claim_list_icon.model_data
: Custom model data for the default icon (default:0
).default_sort
: Configures default sorting forCLAIM_LIST
(default:permission: ALL
,online_status: Online
,distance: Nearest
).fancy_icons_in_claim_list_by_default.enable
: Iftrue
,CLAIM_LIST
icons use the claim’s center block once cached (default:true
).disabled_guis
: Lists GUIs to disable (e.g.,["Claim_List"]
). Bypassed withgpgui.bypass.guidisabled
permission (default:[]
).custom_guis
: Lists custom GUI names (e.g.,["ClaimUpgradeBiomeSelector"]
). The plugin loads corresponding files with_EN
appended (e.g.,ClaimUpgradeBiomeSelector_EN.yml
).
Example Configuration:
Notes:
Custom GUIs listed in
custom_guis
must have corresponding YAML files ending in_EN
in the GUI folder.The
gui_type
in the custom GUI file must match the name incustom_guis
exactly.The
theme
setting inconfig.yml
sets the default theme, but individual GUIs can override it (e.g.,theme: clean_4
inClaimUpgradeNoEnter_EN.yml
).
Last updated