#Deluxe Menu's Arguments

1 messages · Page 1 of 1 (latest)

bronze owl
#

Can someone help me to understand why my arguments arent working with deluxe menus.

`open_command:

  • pay
  • paygui
    register_command: true
    size: 27
    args:
    target: 1
    amount: 1
    else: -1
    args_usage_message: "/pay <player> <amount>"
    menu_title: ' &0&nPay'
    items:
    'filler':
    material: GRAY_STAINED_GLASS_PANE
    display_name: "&f"
    priority: 2
    slots: [0-26]

'PayMoney':
material: PAPER
slot: 12
priority: 1
update: true
display_name: '&aꜱᴇɴᴅ ᴍᴏɴᴇʏ'
lore:
- '&fSend &a {amount} $ to &c{target}'
- ''
- '&e» Click to Send'
click_commands:
- '[player] epay {target} {amount}'

'PayCoins':
material: GOLD_INGOT
slot: 14
priority: 1
update: true
display_name: '&6ꜱᴇɴᴅ ᴄᴏɪɴꜱ'
lore:
- '&fSend &6{amount} Coins To &c{target}'
- ''
- '&e» Click to Send'
click_requirement:
requirements:
anything_here:
type: '>='
input: '%playerpoints_points%'
output: '{amount}'
deny_commands:
- '[message] &cYou dont have enough coins for this transaction!'
- '[close]'
click_commands:
- '[console] points take %player_name% {amount}'
- '[console] points give {target} {amount}'
- '[message] &aYou send {amount} coins to {target}'
- '[close]'`