Skip to content

Keys Menu

The Keys Menu is the GUI that players can use to view their virtual Crate Keys, if the Use Menu option is enabled in the Main Config. The Keys Menu can be configured at /config/skiescrates/menus/keys.json.

  • Directoryconfig
    • Directoryskiescrates
      • Directorymenus
        • keys.json
{
"title": "Keys",
"type": "GENERIC_9X3",
"keys": {
"example_key": {
"item": "minecraft:tripwire_hook",
"slots": [ 13 ],
"name": "<green><b>Example Crate Key",
"lore": [
"<gray>Example Lore!",
"",
"<green><b>Keys:</b></green> <white>%key_amount%"
]
}
},
"items": {
"background": {
"item": "minecraft:black_stained_glass_pane",
"slots": [
0, 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26
],
"nbt": {
"minecraft:hide_tooltip": {}
}
}
}
}

The title of the inventory GUI. Uses MiniMessage formatting!

"title": "Opening %crate_name%"

The type of inventory menu to use.

"type": "GENERIC_9X3"

A map list of Crate Keys to display in the menu. The identifier for this map should be the ID of the Key, which is the name of the file for the Key Configuration. The value is the display of the item in the menu.

"keys": {
"example_key": {
"item": "minecraft:tripwire_hook",
"slots": [ 13 ],
"name": "<green><b>Example Crate Key",
"lore": [
"<gray>Example Lore!",
"",
"<green><b>Keys:</b></green> <white>%key_amount%"
]
}
}

A map list of additional items to display in the menu. These are typically used for background or decorative items.

"items": {
"background": {
"item": "minecraft:black_stained_glass_pane",
"slots": [
0, 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 26
],
"nbt": {
"minecraft:hide_tooltip": {}
}
}
}