action:
type: open_gui
id: "premium_shop"
guiType: CUSTOM
size: "27"
title: "<gold>Premium Shop"
# Base layers — shown when no state matches
_visual_layers:
- id: "background"
type: image
src: "shop_bg"
x: 0; y: 0; width: 176; height: 90
- id: "lock_icon"
type: image
src: "lock"
x: 70; y: 35; width: 18; height: 18
- id: "status_text"
type: text
text: "<red>Premium required"
x: 50; y: 55; width: 80; height: 12
_gui_states:
premium:
name: "Premium"
priority: 1
conditions:
- type: fact
factKey: "rank"
operator: "GTE"
value: 2
layerOverrides:
lock_icon:
visible: false
status_text:
text: "<green>Welcome, VIP!"
color: "#00FF00"
vip:
name: "VIP"
priority: 2
conditions:
- type: and
conditions:
- type: fact
factKey: "rank"
operator: "GTE"
value: 3
- type: fact
factKey: "premium_time"
operator: "GT"
value: 0
layerOverrides:
lock_icon:
visible: false
status_text:
text: "<gold>Legendary Member"
color: "#FFD700"