#listing requirements
1 messages · Page 1 of 1 (latest)
By more than one output, do you mean that you want your player to be part of one of the listed groups or be part of them all?
One of them
So player to be or premium or deluxe
Are they sequential ranks or completely different?
Sequential
Which rank is the lower one?
But if I would include all the ranks half of the would be complitely different
^
Player
I meant out of Deluxe and Premium.
Premium
If you've setup your inheritance in LuckPerms correctly, I think you can do a permission check for group.premium.
I use displayname.premium
What do you mean? I'm simply referring to the group permissions. When you're in a group, you'll have the permission group.<group_name> and when another group inherits permissions from another group, it should also have group.<inherited group name>.
So in your case, Deluxe will have group.premium and so will Premium. With that, you can just check if the player has group.premium.
Make sense?
Then they will automatically get all permissions, including group.xxxx.
What about like mods
Are you wanting mods to meet this view requirement?
Yes too
Are these Premium and Deluxe ranks paid ranks or acquired via some ingame method?
By paid ranks, I mean buyable via a Tebex store or similar.
Paid
Are you wanting mods to get the paid rank perks or do you want them to have to buy the ranks too?
Well I am actually making a menu so you could by them with donate coins
This question is still applicable - the whole paid rank question was just me trying to understand your goals.
Ok
So do you want mods to automatically get the rank perks or do you want them to have to buy it too?
I want them to not be able to buy ranks
Will they get the perks or not?
No
Bit of an unusual setup but okay. Uhm... you could use has permissions with a minimum required of 1.
https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/requirements#has-permissions
Using the group.xxx permissions.
i tried it and it just says in console that it can't find permission requirements
@languid venture
Show me what you put in the config
slot: 21
priority: 1
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip1:
type: string equals
input: '%luckperms_groups%'
output: 'player'
click_commands:
- '[message] Test1'
'buy_vip2':
slot: 21
priority: 2
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip2:
type: string equals
input: '%luckperms_groups%'
output: 'vip'
click_commands:
- '[message] Test2'
'buy_vip3':
slot: 21
priority: 3
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip3:
type: has permissions
permissions: group.premium
click_commands:
- '[message] Test3'```
@languid venture
you renamed the items?
You need to do a list for has permissions. Look at the wiki.
just do
permission: group.premium```
not
```type: has permissionS
permissionS: group.premium
ok
otherwise, if you want more then 1 permission, do this
type: has permissions
permissions:
- 'group.premium'
- 'other.permission'
can you show the full file? the error says something about item buy_premium1/2/3 not buy_vip
one second
take your time
- donate
- don
register_command: true
size: 53
menu_title: '&8Donate menu'
items:
'buy_vip1':
slot: 21
priority: 1
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip1:
type: string equals
input: '%luckperms_groups%'
output: 'player'
click_commands:
- '[message] test1'
'buy_vip2':
slot: 21
priority: 2
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip2:
type: string equals
input: '%luckperms_groups%'
output: 'vip'
click_commands:
- '[message] test2'
'buy_vip3':
slot: 21
priority: 3
material: CHAINMAIL_CHESTPLATE
display_name: '&#f2eb05&lV&#f9f203&li&#fff801&lp'
view_requirement:
requirements:
buy_vip3:
type: has permission
permission: 'group.premium'
click_commands:
- '[message] test3'
'buy_premium1':
slot: 22
priority: 3
material: CHAINMAIL_CHESTPLATE
display_name: 'premium1'
view_requirement:
requirements:
buy_premium1:
type: has permission
permission: 'group.default'
click_commands:
- '[message] test4'
'buy_premium2':
slot: 22
priority: 2
material: CHAINMAIL_CHESTPLATE
display_name: 'premium2'
view_requirement:
requirements:
buy_premium2:
type: string equals
input: '%luckperms_groups%'
output: 'premium'
click_commands:
- '[message] test5'
'buy_premium3':
slot: 22
priority: 1
material: CHAINMAIL_CHESTPLATE
display_name: 'premium3'
view_requirement:
requirements:
buy_premium3:
type: has permission
permission: 'group.deluxe'
click_commands:
- '[message] test6'
oh there we are. let me take a look
does this config work besides the warn in console?
@coral nymph
are you sure the priority is set right?
i think it is
what do you want to achive when having premium
for slot 21 when i have premium it saying test3 and for slot 22 it saying test5
only?
yea
can you try and switch 'buy_premium3' and buy_premium1 prioritys
is the name of the item premium3
or just the message is different from what you put
buy_premium3
the display name not the id of the item
when you put your mouse on the item in the menu
what is the item name
sure
did you do /dm reload?
it works