===》 Fixed an issue with permissions
===》 Add configurations for priorities and permissions
===》 Variables that support the placeholder API to detect whether they can be executed
===》Fixed an issue with updating information
# Premium member item - Medium-high priority
PREMIUM_ITEM:
slot: 13
material: "GOLD_BLOCK"
name: "&6Premium Reward"
lore:
- "&7Reward for premium members"
- "&7Contains valuable in-game items"
- "&6Priority: &eMedium (20)"
- "&6Requires: &ePremium Rank"
priority: 20
permission: "eternalmenus.premium"
no-permission:
- "&cYou need Premium rank for this!"
priority-check:
- "permission:eternalmenus.premium"
lock: true
commands:
- "[console] give %player% gold_ingot 64"
- "[console] give %player% iron_block 5"
title: "&6&lPREMIUM REWARD"
subtitle: "&eYou received premium items!"
actionbar: "&6+64 Gold Ingots & +5 Iron Blocks"
# Standard member item - Normal priority
STANDARD_ITEM:
slot: 13
material: "IRON_BLOCK"
name: "&7Standard Reward"
lore:
- "&7Reward for all members"
- "&7Contains basic in-game items"
- "&6Priority: &eNormal (10)"
priority: 10
priority-check:
- "!permission:eternalmenus.vip" # Not VIP
- "!permission:eternalmenus.premium" # Not Premium
lock: true
commands:
- "[console] give %player% iron_ingot 32"
- "[console] give %player% bread 10"
title: "&7&lSTANDARD REWARD"
subtitle: "&eYou received basic items!"
actionbar: "&7+32 Iron Ingots & +10 Bread"
# New player item - Low priority
NEW_PLAYER_ITEM:
slot: 13
material: "WOOD"
name: "&2New Player Starter"
lore:
- "&7Welcome gift for new players"
- "&7Helps you get started in the game"
- "&6Priority: &eLow (5)"
priority: 5
priority-check:
- "!permission:eternalmenus.vip"
- "!permission:eternalmenus.premium"
- "%player_playtime% < 3600" # Less than 1 hour playtime
- "%player_level% <= 5" # Level 5 or below
lock: true
commands:
- "[console] give %player% wood 10"
- "[console] give %player% stone_pickaxe 1"
- "[console] give %player% apple 5"
title: "&2&lSTARTER KIT"
subtitle: "&eWelcome to the server!"
actionbar: "&2Starter items received!"
# Other functional items
DAILY_REWARD:
slot: 22
material: "EMERALD"
name: "&aDaily Reward"
lore:
- "&7Claim your daily reward"
- "&7Resets every 24 hours"
lock: true
commands:
- "[console] give %player% emerald 5"
- "[actionbar] &a+5 Emeralds (Daily Reward)"
# Close menu
CLOSE_MENU:
slot: 31
material: "BARRIER"
name: "&cClose Menu"
lore:
- "&7Click to exit"
lock: true
close: true