#Permissions in DeluxeMenu don't work

1 messages · Page 1 of 1 (latest)

near bolt
#

The problem is in my menu:

I have two permissions and in the menu they should have different access to different menus.

When I put the first permission(sponsor.standart) on the menu, it works correctly, but for some reason it can go to the menu, which can be accessed only by another permission(sponsor.plus)

My config:
For sponsor.standart menu
menu_title: '&#f61008&lС&#f62a0a&lп&#f5450b&lо&#f55f0d&lн&#f5790f&lс&#f49410&lо&#f4ae12&lр'
size: 54
open_requirement:
requirements:
permission:
type: has permission
permission: sponsor.standart
deny_commands:
- '[message] &cУ вас нет разрешения на это!'

My config:
For sponsor.plus menu
menu_title: '&#f61af4&lС&#f62fd4&lп&#f544b3&lо&#f55993&lн&#f56f73&lс&#f58453&lо&#f49932&lр&#f4ae12&l+'
size: 54
open_requirement:
requirements:
permission:
type: has permission
permission: sponsor.plus
deny_commands:
- '[message] &cУ вас нет разрешения на это!'

Pls, help me((

near bolt
#

@glacial kite

glacial kite
#

alr

near bolt
#

,_,

#

It's deluxemenu config...

#

I don't get you

#

Sorry..

glacial kite
#

hmm thats weird

#

maybe dm the owner of this plugin

near bolt
#

Hm, In perms sponsor.standart don't have this perms

#

Like, they can't...

#

Okey, I tested another version, why it's don't work

#

I want to give permission to click at item on menu, and if you have perms You would go from base menu to another menu (like for sponsor) How can i do it?

@glacial kite

glacial kite
#

i dont think thats possible with the config

near bolt
#

@coral oyster

coral oyster
#

alright

#

sec

#

resend the menu here & the issue

near bolt
#

Thanks <3

coral oyster
#

?paste

gloomy rivetBOT
#
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

coral oyster
#

USE THIS dont paste the menu

coral oyster
#

and whats the exact issue

near bolt
#

I want to configure that the last 2 menus can be opened from the first, main menu. With the appropriate permissions

#

But know everyone can open it!

#

perms don't work

coral oyster
#

You have duplicated stuff

#

use that

near bolt
coral oyster
#

Tell me this do you want them to have no access to open the menu at all?

near bolt
#

to open two additional menus, the main thing they should be able to open

coral oyster
#

bro what???

near bolt
#

.-.

#

Sorry(((

coral oyster
#

By default do you want the first menu to be able to be opened or do you want to even require permissions to open the first menu

#

ATM your menu can be opened by default but not click the items by default

near bolt
#

I'm using translator, that's why I have stange language

coral oyster
#

ok you arent even checking for permisisons

#

to open the menu

#

originally you told me the second thing

near bolt
#

Sorry about that

#

Okey: I need first line, in the main menu I want to everyone can open it. But another 2 can't

coral oyster
#

ill fix it

#

sec

#

wait what

near bolt
#

what///

coral oyster
#

A: EVERYONE can open the menu but cant click items unless they have permissions
B: ONLY if they HAVE PERMISSIONS they can open the menu

near bolt
#

A

coral oyster
#

Thats what it currently does

#

These items only??

    material: Golden_Apple
    slot: 45
    display_name: '&#F6AA00Спонсор'
    lore:
    - '&#F68D66Напитки только для Спонсоров'
    left_click_requirement:
      requirements:
        anything_here:
          type: has permission
          amount: sponsor.standart
      deny_commands:
      - '[message] У вас нет разрешения на это!'
    right_click_requirement:
      requirements:
        anything_here:
          type: has permission
          amount: sponsor.standart
      deny_commands:
      - '[message] У вас нет разрешения на это!'
    left_click_commands:
    - '[openguimenu] sponsor'
  'sponsorr':
    material: Enchanted_Golden_Apple
    slot: 53
    display_name: '&#F6AA00Спонсор+'
    lore:
    - '&#F68D66Напитки только для Спонсоров+'
    left_click_requirement:
      requirements:
        anything_here:
          type: has permission
          amount: plus
      deny_commands:
      - '[message] У вас нет разрешения на это!'
    right_click_requirement:
      requirements:
        anything_here:
          type: has permission
          amount: plus
      deny_commands:
      - '[message] У вас нет разрешения на это!'
    left_click_commands:
    - '[openguimenu] sponsorplus'```
near bolt
#

yep

coral oyster
#

try this

near bolt
coral oyster
#

which items

coral oyster
#

try doing plus.plus not just the word plus

near bolt
#

Okey, the problem is that EVERYONE can click on this item and open it, EVEREONE. defaults too, but they mustn't click on it

#

I change what u said, It isn't working

coral oyster
#

What MC & DM Version

near bolt
#

mc?

#

1.19.2 server and the last file of plugin

coral oyster
#

whats the version number

near bolt
#

1.13.6

coral oyster
#

Your clearly doing something wrong

#

just making sure

#

they dont have op

#

are you using LP?

near bolt
#

yep

#

deop xosi
[00:40:53 INFO]: Nothing changed. The player is not an operator

#

lp user Xosi parent set default
[00:32:15 INFO]: [LP] xosi had their existing parent groups cleared, and now only inherits default in context global.

coral oyster
#

Can you try

/lp user xosi permission check plus.plus

near bolt
#

lp user xosi permission check plus.plus
[00:42:23 INFO]: [LP] Permission information for plus.plus:
[00:42:23 INFO]: [LP] - xosi does not have plus.plus set.
[00:42:23 INFO]: [LP] - xosi does not inherit plus.plus.
[00:42:23 INFO]: [LP]
[00:42:23 INFO]: [LP] Permission check for plus.plus:
[00:42:23 INFO]: [LP] Result: undefined
[00:42:23 INFO]: [LP] Processor: None
[00:42:23 INFO]: [LP] Cause: None
[00:42:23 INFO]: [LP] Context: (dimension-type=overworld) (discordsrv:linked=false) (gamemode=creative) (world=world)

coral oyster
#

mind making another menu

#

file

#

and imma send you it

near bolt
#

okey

coral oyster
near bolt
#

[00:47:31 WARN]: [DeluxeMenus] Has Permission requirement at path: items.sponsor.left_click_requirement.requirements.1111 does not contain a permission: entry
[00:47:31 WARN]: [DeluxeMenus] Has Permission requirement at path: items.sponsorr.left_click_requirement.requirements.111 does not contain a permission: entry

#

I can on this menu open this two items

coral oyster
#

??

#

try going 1 version back

#

I think thats the issue

near bolt
coral oyster
#

that error makes 0 sense

near bolt
near bolt
near bolt
#

okey, the server's restarting, wait a min

rancid notch
coral oyster
#

idk im loosing it a bit cj

rancid notch
#
          type: has permission
          amount: plus.plus
#

it needs permission not amount

coral oyster
#

Omg

#

im so dumb

#

I dont wanna talk about it

rancid notch
#

❤️

coral oyster
#

jere

#

@near bolt

near bolt
#

oh my good...

coral oyster
#

smh

rancid notch
#

I've noticed the debug messages suck, but they are accurate when you can translate them

#

😂

coral oyster
#

I didnt read it

rancid notch
#

well it's a little weird, because nothing is fancified like discord

rancid notch
near bolt
#

It's not work

#

I'm crying

coral oyster
#

wait fr?

rancid notch
#

what does it say now

near bolt
#

Oh...Now it's work! Thanks you all so much...

#

I'm sorry

coral oyster
#

bruh

#

smh