#Deluxe Menu trading System?

1 messages · Page 1 of 1 (latest)

quaint mauve
#

I was wondering if there was a way I could make a GUI with Deluxe Menus where when you click an item, if you have a certain item (such as a vote token, a item with a name and lore) it will take out x5 of that item and give you a specific item of your choice (enchantment book), but if you dont have a certain item in your inventory it will tell you (Sorry, but you don't have the required items to trade for this item!) And it won't take away or give anything.

valid burrow
quaint mauve
#

Because idk how to do kt

valid burrow
# quaint mauve Can you show me in the gui menu file on how?
# open_requirement:
# view_requirement:
# left_click_requirement:
# right_click_requirement:
# shift_left_click_requirement:
# shift_right_click_requirement:

click_requirement:
  requirements:
    requirement_name:
      type: TYPE (in your case: has item)
      deny_commands:
      - "[ACTIONTYPE] ACTION"
      - "[ACTIONTYPE] ACTION"
  click_commands:
    - "[ACTIONTYPE] ACTION"
    - "[ACTIONTYPE] ACTION"
quaint mauve
#

Can you add require lore?

valid burrow
# quaint mauve Can you show me in the gui menu file on how?
type: has item
# material option supports material names, placeholders and arguments.
material: "TEXT"
modeldata: #
amount: #
name: "TEXT"
# lore can also be one single string: lore: "TEXT"
lore:
  - "TEXT"
# if this is enabled then the plugin will look for items that contain the value
# set at the option "name" in their name and not for the exact value
name_contains: boolean
# if this option is enabled then the plugin will check for the item name,
# without caring about the case.
lore_contains: boolean
# if this option is enabled then the plugin will check for the item lore,
# without caring about the case.