click_requirement:
minimum_requirements: 2
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou don't have enough &c&lB&f&lw &a&lMoney&c to buy this perk!"
requirements:
permission:
type: '!has permission'
permission: bedwars.tags.games_normal
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou already have this item!"
points_balance_check:
type: '>='
input: '%servervariables_display_bedwars_money%'
output: '50'
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou don't have enough &c&lB&f&lw &a&lMoney&c to buy this perk!"
click_commands:
- '[console] servervariables reduce bedwars_money 100 %player_name%'
- '[console] lp user %player_name% permission set bedwars.tags.games_normal'
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[close]'
```what im i dowing worng
i added the permission and ten its not loading
```yml
[23:30:08 ERROR]: [DeluxeMenus] Detected invalid configuration in file: shop.yml
[23:30:08 WARN]: [DeluxeMenus] Menu: shop in file: shop.yml not loaded.```
#Menu buy bedwars
1 messages · Page 1 of 1 (latest)
ten what is the probleem
show a whole menu
menu_title: '&c&lBᴇᴅ&f&lWᴀʀs&7:&b Shop'
open_command: shop
size: 18
open_requirement:
requirements:
permission:
type: has permission
permission: bedwars.user.shop
deny_commands:
- '[message] &cYou don''t have permission to do that!'
items:
'plane':
display_name: "&c&l"
material: light_blue_stained_glass_pane
priority: 2
slots:
- 0-17
'playerinfo':
material: head-%player_name%
slot: 9
priority: 1
display_name: '&6%player_name% &bAttribute'
lore:
- ''
- '&f● &7&c&lB&f&Lw&a&l Money&7: &b%servervariables_display_bedwars_money%'
'normal_games':
material: flower_banner_pattern
slot: 0
priority: 1
update: true
hide_attributes: true
display_name: '&b&lGames'
lore:
- '&bTheme&7: &7Normal'
- '&bType&7: &7Games'
- ''
- '&7Cost 50 &c&lB&f&lw &a&lMoney'
click_requirement:
minimum_requirements: 2
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou don't have enough &c&lB&f&lw &a&lMoney&c to buy this perk!"
requirements:
permission:
type: '!has permission'
permission: bedwars.tags.games_normal
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou already have this item!"
points_balance_check:
type: '>='
input: '%servervariables_display_bedwars_money%'
output: '50'
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou don't have enough &c&lB&f&lw &a&lMoney&c to buy this perk!"
click_commands:
- '[console] servervariables reduce bedwars_money 100 %player_name%'
- '[console] lp user %player_name% permission set bedwars.tags.games_normal'
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[close]'
```
Detected invalid configuration :/
where
don't know
f
permission:
type: '!has permission'
permission: bedwars.tags.games_normal
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou already have this item!"``` wen i remove this it works
also use this requirement instead
click_requirement:
requirements:
permission:
type: '!has permission'
permission: bedwars.tags.games_normal
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou already have this item!"
points_balance_check:
type: '>='
input: '%servervariables_display_bedwars_money%'
output: '50'
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou don't have enough &c&lB&f&lw &a&lMoney&c to buy this perk!"
hmmm
what chanced?
same error ?
[18:35:40 ERROR]: [DeluxeMenus] Detected invalid configuration in file: shop.yml
[18:35:40 WARN]: [DeluxeMenus] Menu: shop in file: shop.yml not loaded.
Which part of it specifically? Does it work if you remove the deny commands?
permission:
type: '!has permission'
permission: bedwars.tags.games_normal
deny_commands:
- "[message] &8&l[&b&lDungeons&8&l] &f&l| &cYou already have this item!" the hole tink
the perm part
no its the perm
try
type: "!has permission"
permission: "bedwars.tags.games_normal"```
%luckperms_has_permission_bedwards.tags.games_normal%
equals no
use the string equals
type: string equals
what?
wait nvm i can fix it
do you now how to fix this?
# AutoRank:
default to beginner:
prerequisites:
in group:
value: default
requirements:
1:%bedwars_stats_wins%: # not working
results:
command:
value: lp user %player_name% add parent beginner
message:
value: Congratulations, you have been promoted to beginner!
options:
display name: beginner
auto choose: true
show based on prerequisites: true```
what plugin is that 😭