BlueGit

timfa death-firework

Files

death-firework / data / death_firework / function / admin / menu.mcfunction

menu.mcfunction

menu.mcfunction 2.3 KiB Download Raw
1tellraw @s {text:'════ Sterfvuurwerkbeheer ════',color:'gold',bold:true}
2tellraw @s {text:'Alle onderstaande instellingen zijn globaal.',color:'gray'}
3tellraw @s {text:'Lifetime:',color:'white'}
4execute if score #lifetime df_cfg matches 20 run tellraw @s {text:'Huidig: 20 ticks',color:'green'}
5execute if score #lifetime df_cfg matches 40 run tellraw @s {text:'Huidig: 40 ticks',color:'green'}
6execute if score #lifetime df_cfg matches 60 run tellraw @s {text:'Huidig: 60 ticks',color:'green'}
7execute if score #lifetime df_cfg matches 80 run tellraw @s {text:'Huidig: 80 ticks',color:'green'}
8tellraw @s [{text:'[20]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/lifetime_20'}},{text:' '},{text:'[40]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/lifetime_40'}},{text:' '},{text:'[60]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/lifetime_60'}},{text:' '},{text:'[80]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/lifetime_80'}}]
9tellraw @s {text:'Trail:',color:'white'}
10execute if score #trail df_cfg matches 0 run tellraw @s {text:'Huidig: nee',color:'green'}
11execute if score #trail df_cfg matches 1 run tellraw @s {text:'Huidig: ja',color:'green'}
12tellraw @s [{text:'[Ja]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/trail_on'}},{text:' '},{text:'[Nee]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/trail_off'}}]
13tellraw @s {text:'Sparkle:',color:'white'}
14execute if score #sparkle df_cfg matches 0 run tellraw @s {text:'Huidig: nee',color:'green'}
15execute if score #sparkle df_cfg matches 1 run tellraw @s {text:'Huidig: ja',color:'green'}
16tellraw @s [{text:'[Ja]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/sparkle_on'}},{text:' '},{text:'[Nee]',color:'aqua',click_event:{action:'run_command',command:'/function death_firework:admin/set/sparkle_off'}}]
17tellraw @s {text:'Open dit menu met /function death_firework:admin/menu',color:'dark_gray',italic:true}
18tellraw @s {text:'[Status en test]',color:'yellow',bold:true,click_event:{action:'run_command',command:'/function death_firework:admin/status'}}