goinq_command_gm: type: command debug: false name: gm description: choose your gamemode usage: /gm permission: goinq.admin script: - if == 1: - adjust gamemode:creative - stop - if == 0: - adjust gamemode:survival - stop - if == 2: - adjust gamemode:spectator - stop - if == 3: - adjust gamemode:adventure - stop - else: - inventory open d:goinq_gui_gm # goinq_gui_gm: type: inventory debug: false inventory: chest title: Gamemode wählen size: 9 slots: - [] [goinq_gui_gm_creative] [] [goinq_gui_gm_survival] [] [goinq_gui_gm_spectator] [] [goinq_gui_gm_adventure] [] # goinq_gui_gm_creative: type: item material: diamond display name: Creative lore: - ' ' - 'Set your gamemode to creative' goinq_gui_gm_survival: type: item material: coal display name: Survival lore: - ' ' - 'Set your gamemode to survival' goinq_gui_gm_spectator: type: item material: feather display name: Spectator lore: - ' ' - 'Set your gamemode to spectator' - 'Warning: in spectator mode you can`t use the gui!' goinq_gui_gm_adventure: type: item material: stone_sword mechanisms: flags: HIDE_ATTRIBUTES display name: Adventure lore: - ' ' - 'Set your gamemode to adventure' # goinq_event_gui: type: world events: on player clicks in goinq_gui_gm: - determine passively cancelled - if = red_wool: - inventory open d:adminpanel_goinq_start_gui - if = diamond: - adjust gamemode:creative - if = coal: - adjust gamemode:survival - if = feather: - adjust gamemode:spectator - if = stone_sword: - adjust gamemode:adventure