Untitled

 avatar
unknown
yaml
2 months ago
3.0 kB
5
Indexable
custom-guis:
    example_gui:
        title: <gold>Example Custom GUI
        rows: 3
        border: true
        items:
            navigate:
                slot: 15
                material: COMPASS
                materialDisabled: BARRIER
                name: <yellow>Navigate
                lore:
                    - <gray>Click to navigate to another GUI
                glow: false
                action: ""
                color: ""
                actions:
                    - clickTrigger: ANY_CLICK
                        order: 1
                        actionType: NAVIGATE_GUI
                        value: second_example
            close:
                slot: 22
                material: BARRIER
                materialDisabled: BARRIER
                name: <red>Close
                lore:
                    - <gray>Click to close this GUI
                glow: false
                action: ""
                color: ""
                actions:
                    - clickTrigger: ANY_CLICK
                        order: 1
                        actionType: CLOSE
                        value: ""
            multi_action:
                slot: 13
                material: DIAMOND
                materialDisabled: BARRIER
                name: <aqua>Multi-Action Item
                lore:
                    - <gray>This item demonstrates multiple actions
                    - <gray>Left-click to run a player command
                    - <gray>Right-click to run a console command
                    - <gray>Shift-click to navigate back
                glow: true
                action: ""
                color: ""
                actions:
                    - clickTrigger: LEFT_CLICK
                        order: 1
                        actionType: PLAYER_COMMAND
                        value: me clicked with left click
                    - clickTrigger: RIGHT_CLICK
                        order: 1
                        actionType: CONSOLE_COMMAND
                        value: say %player_name% right-clicked a button!
                    - clickTrigger: SHIFT_LEFT_CLICK
                        order: 1
                        actionType: BACK
                        value: ""
    second_example:
        title: <gold>Second Example GUI
        rows: 3
        border: true
        items:
            back:
                slot: 13
                material: ARROW
                materialDisabled: BARRIER
                name: <yellow>Back to First GUI
                lore:
                    - <gray>Click to go back to the first example GUI
                glow: false
                action: ""
                color: ""
                actions:
                    - clickTrigger: ANY_CLICK
                        order: 1
                        actionType: BACK
                        value: ""
Editor is loading...
Leave a Comment