#Use Argument in [openguimenu]

1 messages · Page 1 of 1 (latest)

faint folio
#

Allows you to make complex menus with the opening of a menu with purchase prices in it without the player being able to modify it. Truly unbelievable

#

Same for /dm open

grim cloak
#

Not possible due to how arguments work (tied to the actual registered command or something)

#

A workaround for "players not being able to modify it" was using a sort of "password" idea

#

where you make sure a certain argument equals your "password"

#
open_command: testmenu
register_command: true
args:
- item
open_requirement:
  requirements:
    password:
      type: string equals
      input: '{item}'
      output: 'cobblestone'
faint folio
grim cloak
#

Ah, maybe can add to the title if possible. Make it easier to find when/if time comes