Export & Syncing
A quick explanation on export and syncing works
Before you run the export command, understand that you will likely receive no support when editing the voucher file directly as the GUI editor is the intended way.
/Vouchers export confirm - This will export all the currently created vouchers into a vouchers folder. Each voucher will be created as a json file. Example "money.json, rank1.json" etc.
/Vouchers sync <voucherId/*> - This will allow you to sync all or a specific voucher/file back into vouchers. If you create a new voucher file and it does not exists in the Voucher's database, Vouchers will attempt to create and save it assuming you configured the file correctly.
Important Sync Information
When running the sync command, it WILL OVERRIDE the settings of any voucher(s) in the database that shares the id. It's suggested that you add all your item rewards first in game, then run the export command since it's easier to configure items that way. But if you are comfortable editing items as json, knock yourself out.
Example Voucher File
This is an example voucher file with all the possible options filled in. Depending on how you setup your voucher initially, you might be missing title/subtitle or more options. Use this a reference if you want to add something.
example.json
Last updated