Export & Syncing
A quick explanation on export and syncing works
Important Sync Information
Example Voucher File
example.json
{
"item": "CAKE",
"displayName": "&bExample Voucher",
"description": [
"§ethis is line #1",
"§bthis is another line"
],
"rewardMode": "AUTOMATIC",
"maxUses": -1,
"cooldown": -1,
"removeOnUse": true,
"askForConfirm": true,
"glowing": false,
"requirePermission": true,
"permission": "vouchers.usevoucher",
"playSound": true,
"sound": "ENTITY_EXPERIENCE_ORB_PICKUP",
"broadcastMessages": [
"&bExample broadcast mesage",
"&e%player% &7use a voucher"
],
"chatMessages": [
"&7Example chat message to player",
"&eOnly you can see this"
],
"actionbarMessages": [
"&aSingle message for the action bar"
],
"titleMessage": {
"message": "§eTitle Message",
"fadeIn": 20,
"stay": 40,
"fadeOut": 20
},
"subtitleMessage": {
"message": "§eSubtitle Message",
"fadeIn": 20,
"stay": 40,
"fadeOut": 20
},
"rewards": [
{
"type": "COMMAND",
"chance": 100.0,
"delay": 0,
"command": "eco give %player% 5000",
"claimMessage": ""
},
{
"type": "COMMAND",
"chance": 100.0,
"delay": 0,
"command": "give %player% cake 1",
"claimMessage": "&aYou received cake"
},
{
"type": "ITEM",
"chance": 100.0,
"delay": 0,
"item": "{count:1,id:\"minecraft:cake\"}"
},
{
"type": "ITEM",
"chance": 100.0,
"delay": 0,
"item": "{count:1,id:\"minecraft:sugar\"}"
}
]
}Last updated