menu-settings:
argument-processor:
- store-argument
# The minimum number of arguments is 2
min-args: 2
# Register 2 arguments and create 2 variables: {arg_test} and {arg_otest}
args:
- test
- otest
# Set the default arguments of "test" and "otest" to "hello" and "world"
default-args: "hello world"
# The action when failed to meet the min-args
min-args-action: "tell: &cAt least 2 arguments"
...
# The button
button:
id: stone
name: "&bTest Arguments"
lore:
- "Arg 1: {arg_test}"
- "Arg 2: {arg_otest}"
- "Merged Args: {merged_args}"