#little problem

1 messages · Page 1 of 1 (latest)

versed sparrow
#

i have a problem with deluxemenus when i try to use minimum_requirements to open a menu. i set 1 minimun requirement on this option of 2 posible requirements but it doesn't work... I already tried everything but it only read the first requirement always (it doesn't matter if it meets it or not)
The idea is that the menu is opened when a player is near a place, or when the player has "x" permission to open it anywhere

blazing light
#

Make sure the second requirement is named something different than the first

versed sparrow
blazing light
#

Pic of file?

rough spruce
#

Please use paste bins to send errors, code snippets, config snippets, etc. from now on. That way I don't have to transcribe everything from the image to show you an example on how to do it.

#
    open_requirement:
      minimum_requirements:
      deny_commands:
      - "[message] YOUR DENY MESSAGE HERE"
      requirements:
        permiso:
          type: has permission
          permission: menu.abrir.bypass
          optional: true
        cerca:
          type: is near
          location: "spawn,1.5,67.0,27.5"
          distance: 5
          optional: true