-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Daniel Norris edited this page Oct 12, 2022
·
2 revisions
Welcome to the EnvyCrates wiki!
Example crate (put in config/EnvyCrates/crates
):
{
"type": "simple",
"id": "example",
"display_name": "Example Crate",
"key": {
"id": "minecraft:diamond",
"Count": 1
},
"given_key_message": [
"You have been given a key for Example Crate"
],
"need_a_key": [
"You need a key to open this crate. Get one here: URL!"
],
"rewards": [
{
"id": "abc",
"type": "simple_commands",
"weight": 20.0,
"commands": [
"broadcast yay"
],
"display": {
"id": "minecraft:diamond",
"Count": 1
},
"display_data": {
"x": 1,
"y": 1,
"page": 1
}
},
{
"id": "abc2",
"type": "simple_commands",
"weight": 20.0,
"commands": [
"broadcast boo"
],
"display": {
"id": "minecraft:stone",
"Count": 1
},
"display_data": {
"x": 1,
"y": 2,
"page": 1
}
}
],
"preview_gui_settings": {
"title": "Hello",
"height": 6,
"fillType": "BLOCK",
"fillerItems": {
"0": {
"enabled": true,
"type": "minecraft:black_stained_glass_pane",
"amount": "1",
"damage": 0,
"name": " ",
"flags": [],
"lore": [],
"enchants": {},
"nbt": {}
}
}
},
"display_gui_settings": {
"title": "Hello",
"height": 6,
"fillType": "BLOCK",
"fillerItems": {
"0": {
"enabled": true,
"type": "minecraft:black_stained_glass_pane",
"amount": "1",
"damage": 0,
"name": " ",
"flags": [],
"lore": [],
"enchants": {},
"nbt": {}
}
}
},
"display_slots": [
1, 2, 3, 4, 5, 6, 7
],
"spin_duration": 30,
"final_reward_position": 30,
"preview_pages": 1,
"preview_next_page": {
"enabled": true,
"type": "minecraft:stone",
"amount": 1,
"damage": 0,
"name": "Next page",
"flags": [],
"lore": [],
"enchants": {},
"nbt": {},
"positions": {
"one": {
"x": 5,
"y": 3
}
},
"requiresPermission": false,
"permission": "",
"elseItem": {},
"closeOnClick": false,
"commandsExecuted": []
},
"preview_previous_page": {
"enabled": true,
"type": "minecraft:stone",
"amount": 1,
"damage": 0,
"name": "Prev. page",
"flags": [],
"lore": [],
"enchants": {},
"nbt": {},
"positions": {
"one": {
"x": 4,
"y": 3
}
},
"requiresPermission": false,
"permission": "",
"elseItem": {},
"closeOnClick": false,
"commandsExecuted": []
}
}