booster: type: inventory title: <&3>Global Boosters size: 27 slots: - "[] [] [] [] [] [] [] [] []" - "[] [] [] [] [i@fly] [] [] [] []" - "[] [] [] [] [] [] [] [] []" booster_command: type: command name: Booster description: Opens Booster GUI usage: "/booster" script: - inventory open d:in@booster fly: type: item material: Elytra display name: <&6>Global Fly Booster lore: - <&e>Enable fly for everyone online - <&e>on the server for 60 seconds! flyb: type: item material: 288 display name: <&b>Fly Badge lore: - <&7>Use this to activate a fly booster fly_event: type: world events: on player clicks in booster: - if == i@fly { - - if { + - if { - adjust can_fly:true - take i@flyb } - inventory close } else { - determine cancelled } on player drags in booster: - determine cancelled