How it works: Players can receive a big amount of keys which will fill their inventory pretty quick, with a Key Vault (a physical item in their inventory) they can store a certain number of keys that can be later redeemed or withdrawn.
Images
Files
config.yml
# Example config
vaults:
tier1:
item:
#
# All customization options
# - material: the material of the item
# - name: the name of the item
# - lore: the lore of the item
# - damage: the 'damage' of the item, used to display different types (e.g. colored wool)
# - glow: whether the item should have a glow effect (true or false)
# - unbreakable: whether the item should be unbreakable (usually used on older versions
# of the game for custom textures)
# - customModel: (1.14.4+) custom model data
#
material: PISTON_BASE
name: '&cTier 1 KeyVault'
lore:
- '&eCommon: &f<stored.common>/200'
- '&cRare: &f<stored.rare>/200'
keys:
# The name of the keys must be lowercase
common:
limit: 200
# The position in the GUIs
slot: 10
rare:
limit: 20
slot: 11
menus:
useMenuForBulkOpen: false
withdraw:
# 1 - 6 rows
rows: 3
title: "Withdraw keys from your vault"
items:
border:
# Same customization options as for the vault
slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 23, 24, 25, 26]
material: STAINED_GLASS_PANE
data: 7
name: ' '
info:
slot: 22
material: BOOK
name: '&9[!] Info'
lore:
- ' '
- '&aLeft click to withdraw 1'
- '&aShift + Left click to withdraw 10'
- '&aRight click to withdraw 100'
- '&2Shift + Right click to withdraw all'
bulk_open:
rows: 3
title: "Bulk open keys"
items:
border:
slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 23, 24, 25, 26]
material: STAINED_GLASS_PANE
data: 7
name: ' '
info:
slot: 22
material: BOOK
name: '&9[!] Info'
lore:
- ' '
- '&aLeft click to open 1'
- '&aShift + Left click to open 10'
- '&aRight click to open 100'
- '&2Shift + Right click to open all'