Files
data
pack.mcmeta
Code
33 195
data/crystal_drop/functions/admin/menu.mcfunction
tellraw @s ["",{"text":"╔══════════════════════════════╗","color":"dark_purple"}]
tellraw @s ["",{"text":" ✦ ","color":"dark_purple"},{"text":"CRYSTAL AIRDROP","color":"light_purple","bold":true},{"text":" CONFIG PANEL","color":"white","bold":true}]
tellraw @s ["",{"text":"╚══════════════════════════════╝","color":"dark_purple"}]
tellraw @s ["",{"text":" Status: ","color":"gray"},{"score":{"name":"#enabled","objective":"cd"},"color":"yellow"},{"text":" "},{"text":"[✔ ENABLE]","color":"green","bold":true,"clickEvent":{"action":"run_command","value":"/scoreboard players set #enabled cd 1"},"hoverEvent":{"action":"show_text","value":"§aEnable the crystal drop system"}},{"text":" "},{"text":"[✖ DISABLE]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/scoreboard players set #enabled cd 0"},"hoverEvent":{"action":"show_text","value":"§cDisable the crystal drop system"}}]
tellraw @s ["",{"text":" Timer: ","color":"gray"},{"score":{"name":"#timer","objective":"cd"},"color":"aqua"},{"text":" / ","color":"dark_gray"},{"score":{"name":"#timer_max","objective":"cd"},"color":"yellow"},{"text":" ticks","color":"dark_gray"}]
tellraw @s ["",{"text":" Set timer: ","color":"gray"},{"text":"[30m]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #timer_max cd 36000"},"hoverEvent":{"action":"show_text","value":"30 minutes — 36,000 ticks"}},{"text":" "},{"text":"[1h]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #timer_max cd 72000"},"hoverEvent":{"action":"show_text","value":"1 hour — 72,000 ticks"}},{"text":" "},{"text":"[5h]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #timer_max cd 360000"},"hoverEvent":{"action":"show_text","value":"5 hours — 360,000 ticks"}},{"text":" "},{"text":"[10h]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #timer_max cd 720000"},"hoverEvent":{"action":"show_text","value":"10 hours — 720,000 ticks"}},{"text":" "},{"text":"[24h]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #timer_max cd 1728000"},"hoverEvent":{"action":"show_text","value":"24 hours — 1,728,000 ticks"}},{"text":" "},{"text":"[Custom…]","color":"gold","clickEvent":{"action":"suggest_command","value":"/scoreboard players set #timer_max cd "},"hoverEvent":{"action":"show_text","value":"§eType a custom value in ticks"}}]
tellraw @s ["",{"text":" Drop chance: ","color":"gray"},{"text":"1 in ","color":"white"},{"score":{"name":"#drop_chance","objective":"cd"},"color":"yellow"}]
tellraw @s ["",{"text":" Set chance: ","color":"gray"},{"text":"[100%]","color":"green","clickEvent":{"action":"run_command","value":"/scoreboard players set #drop_chance cd 1"},"hoverEvent":{"action":"show_text","value":"Guaranteed drop every cycle"}},{"text":" "},{"text":"[50%]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #drop_chance cd 2"},"hoverEvent":{"action":"show_text","value":"50% chance — 1 in 2"}},{"text":" "},{"text":"[25%]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #drop_chance cd 4"},"hoverEvent":{"action":"show_text","value":"25% chance — 1 in 4"}},{"text":" "},{"text":"[10%]","color":"gold","clickEvent":{"action":"run_command","value":"/scoreboard players set #drop_chance cd 10"},"hoverEvent":{"action":"show_text","value":"10% chance — 1 in 10"}},{"text":" "},{"text":"[5%]","color":"red","clickEvent":{"action":"run_command","value":"/scoreboard players set #drop_chance cd 20"},"hoverEvent":{"action":"show_text","value":"5% chance — 1 in 20"}},{"text":" "},{"text":"[Custom…]","color":"gold","clickEvent":{"action":"suggest_command","value":"/scoreboard players set #drop_chance cd "},"hoverEvent":{"action":"show_text","value":"§eType a custom 1-in-N value"}}]
tellraw @s ["",{"text":" Coord range: ","color":"gray"},{"text":"0 — ","color":"dark_gray"},{"score":{"name":"#coord_max","objective":"cd"},"color":"yellow"}]
tellraw @s ["",{"text":" Set range: ","color":"gray"},{"text":"[500]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #coord_max cd 500"},"hoverEvent":{"action":"show_text","value":"Drop within 500 blocks of 0,0"}},{"text":" "},{"text":"[1000]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #coord_max cd 1000"},"hoverEvent":{"action":"show_text","value":"Drop within 1000 blocks of 0,0"}},{"text":" "},{"text":"[2000]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #coord_max cd 2000"},"hoverEvent":{"action":"show_text","value":"Drop within 2000 blocks of 0,0"}},{"text":" "},{"text":"[3500]","color":"aqua","clickEvent":{"action":"run_command","value":"/scoreboard players set #coord_max cd 3500"},"hoverEvent":{"action":"show_text","value":"Drop within 3500 blocks of 0,0"}},{"text":" "},{"text":"[5000]","color":"gold","clickEvent":{"action":"run_command","value":"/scoreboard players set #coord_max cd 5000"},"hoverEvent":{"action":"show_text","value":"Drop within 5000 blocks of 0,0"}},{"text":" "},{"text":"[Custom…]","color":"gold","clickEvent":{"action":"suggest_command","value":"/scoreboard players set #coord_max cd "},"hoverEvent":{"action":"show_text","value":"§eType a custom max coordinate"}}]
tellraw @s ["",{"text":" "},{"text":"[⚡ Force Drop]","color":"yellow","bold":true,"clickEvent":{"action":"run_command","value":"/function crystal_drop:admin/force_drop"},"hoverEvent":{"action":"show_text","value":"§eForce a crystal drop right now"}},{"text":" "},{"text":"[↺ Reset Timer]","color":"aqua","clickEvent":{"action":"run_command","value":"/function crystal_drop:admin/reset_timer"},"hoverEvent":{"action":"show_text","value":"Reset the drop timer to 0"}},{"text":" "},{"text":"[◈ Toggle]","color":"light_purple","clickEvent":{"action":"run_command","value":"/function crystal_drop:admin/toggle"},"hoverEvent":{"action":"show_text","value":"Toggle the system on/off"}},{"text":" "},{"text":"[📊 Status]","color":"green","clickEvent":{"action":"run_command","value":"/function crystal_drop:admin/status"},"hoverEvent":{"action":"show_text","value":"Show full status report"}}]
tellraw @s ["",{"text":"╔══════════════════════════════╗","color":"dark_purple"}]