#Deluxe Menus View Requirements not working

1 messages · Page 1 of 1 (latest)

feral marsh
#

I'm trying to make "backpack_purchased" switch to "backpack" if you have the permission "backpack.size.1". Everything I've tried leads to whichever item having the highest priority show up no matter what perms I have.

Here's my config:

items:
'backpack':
material: chest
slot: 4
display_name: '&e&lTier 1 Backpack'
lore:
- '&bCosts - 64 Diamonds'
- '&7Click to buy!'
priority: 1
'backpack_purchased':
material: dirt
slot: 4
display_name: '&e&lTier 1 Backpack'
lore:
- '&bYou have already purchased this item!'
priority: 0
view_requirements:
requirements:
perm2:
type: has permission
permission: backpack.size.1

#

(looks like discord messed the formatting up a little. i have no empty line after lore:, and the circles are dashes)

stark hound
#

?paste

proven cipherBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • “hi”
  • “there”
    ```

Produces:

test:
- “hi”
- “there”```
stark hound
#

ah, simple error

#

it should be view_requirement without the s

#

you have view_requirements

feral marsh
#

oh my god

#

thank you so much lmfao