Additional Args

A quick explanation on how to use custom args

Take this picture for example

When adding/creating lore, editing a voucher name, or adding commands. You are now able to use {#} to represent a custom parameter you provide during the give command.

Command Example

/vouchers give ItsMeKiran 1 money -a cad 5000

Execution Result

Adding cad and 5000 to the give command after the voucher id, targets the corresponding index. So effectively, when the user redeems the voucher, the command that will be ran will convert to

funds pay ItsMeKiran 5000 cad

You can how unlimited arguments, but you will need to also provide them when using the give command for that particular voucher.

Last updated