#deluxemenus view requirement

1 messages · Page 1 of 1 (latest)

tired stream
#

trying to work out my dm menu so it shows a golden axe when players dont have a fire charge and show a diamond axe when they do i just cant figute it out

https://hastebin.com/raw/hojuvodoja

frail knoll
#

if we take a look at the has item syntax

type: has item
# material option supports material names, placeholders and arguments.
material: "TEXT"
data: #
# represents the CustomModelData the item should have.
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.
name_ignorecase: boolean
# if this is enabled then the plugin will look for items that contain the value
# set at the option "lore" in their lore and not for the exact value
lore_contains: boolean
# if this option is enabled then the plugin will check for the item lore,
# without caring about the case.
name_ignorecase: boolean
# if this option is enabled, the plugin will consider only the items that 
# have no custom model data, no display name and no lore.
strict: boolean
# decides if the plugin should also check the armor slots of the player when
# looking for items
armor: boolean
# decides if the plugin should also check the off hand of the player when
# looking for items
offhand: boolean
#

you need to change permission to material

#

if you don't have modeldata you can remove that

#

unless it is 0 (I think that's default though)

#

and the priorities are swapped around

#

lowest = shown first, if view req is met