Input Menu
# Input Menu (1.3.7+)
- Main Nodes
input means players can input values in chat
'1':
index: 1
name: Input Menu Command Usage
material: ARROW
lore:
- "&f- &7Click to try"
isEnchant: false
custom-model-data: 0
hideFlag: true
hideEnchant: true
input: "Please enter any characters..."
commands:
- '[message] You entered ${input}, can use this internal variable in commands'
- '[message] You entered %playerMenu_input%, can also use this papi variable anywhere'
'2':
index: 2
name: 'Custom Buy Apple'
material: APPLE
lore:
- "&f- &7Click to input purchase quantity"
isEnchant: false
custom-model-data: 0
hideFlag: true
hideEnchant: true
# Shop type sell is for selling, buy is for buying
shopType: 'buy'
# Items for sale format: material:quantity
shopMaterial: "APPLE:${input}"
# Shop money price format must be kept as below
shopMoney: '${100 * input}'
# [number] means only numbers can be entered, followed by reminder message
input: "[number] Please enter purchase quantity..."
commands:
- '[message] You successfully purchased ${input} items'