#Menu buy bedwars

1 messages · Page 1 of 1 (latest)

wintry flint
#
    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.```
#

please ping me

dusk flareBOT
#
Valid Config!

trantheanh, I checked your config and, it's valid!

+ Correctly Formatted```
wintry flint
#

ten what is the probleem

knotty wedge
wintry flint
#
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]'  
    ```
dusk flareBOT
#
Valid Config!

pvink7, I checked your config and, it's valid!

+ Correctly Formatted```
knotty wedge
#

Detected invalid configuration :/

wintry flint
knotty wedge
wintry flint
#

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
knotty wedge
#

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!"
wintry flint
#

what chanced?

knotty wedge
wintry flint
#

o

#

i tryed that did not fix

knotty wedge
wintry flint
# knotty wedge 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.

blissful spindle
wintry flint
#

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

blissful spindle
#

try

          type: "!has permission"
          permission: "bedwars.tags.games_normal"```
blissful spindle
#

%luckperms_has_permission_bedwards.tags.games_normal%
equals no

#

use the string equals

#

type: string equals

wintry flint
#

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```
blissful spindle
#

what plugin is that 😭