Key Lockers is a Minecraft plugin that helps keep players inventories clean while efficiently managing rewards.
Rewards
Allow players to gain keys when they mine, and automatically store them in a virtual key backpack.
Commands
/keylocker give (player) (keylocker) (amount)
/keylocker addkey (player) (key) (amount)
/keylocker reload
Permissions
keylocker.command.give - Allows use of the /keylocker give command
keylocker.command.addkey - Allows use of the /keylocker addkey command
keylocker.command.reload - Allows use of the /keylocker reload command
Inventory Management (Keep Inventory)
Store all keys in a virtual backpack to keep players inventories organized.
Code (YAML):
Default-Crate-Command: 'crate give
{player
}{crate
}{amount
}'
Default-Crate-Keys: - 'basic:80'
- 'epic:10'
- 'legendary:5'
- 'serverkey:3'
Blacklist-Blocks: - 'BEDROCK'
- 'CHEST'
- 'PACKED_ICE'
BlackList-Worlds: - 'world_nether'
- 'world_the_end'
Settings: #When this is true then it will go after the chance when your players mine. #So you will have a chance automatic. #If you have enchants like keygiver or what not you may be better of using the command. DefaultCrateSystem: true
Messages:
GIVE_KEYLOCKER:
show: true
message: '&7You have given &b
{keylocker
} &7to &b
{target
}'
GIVE_TARGET_KEYLOCKER:
show: true
message: '&7You have been given a &b
{keylocker
}'
NO_PERMISSION:
show: true
message: '&cYou dont have permission to do this'
WITHDRAW_KEYS:
show: true
message: '&7You have withdrawn &bx
{amount
} &7keys'
NO_KEYS_TO_WITHDRAW:
show: true
message: '&7You dont have
any keys to withdraw'
GIVE_KEYLOCKER_KEY:
show: true
message: '&7You have been given a &b
{key
} &7from your keylocker'
KEYLOCKER_DOES_EXIST:
show: true
message: '&cThat keylocker does not exist!'
CLAIM_KEY:
show: true
message: '&7You have claimed &bx
{amount
}{key
} keys'
UPGRADE_BACKPACK:
show: true
message: '&7You have upgraded your keybackpack!'
RELOAD_SUCCESS:
show: true
message: '&aSuccessfully reloaded!'
RELOAD_FAIL:
show: true
message: '&cA serious error occurred during reloading'
KeyLockers:
small:
Material: 'CHEST'
Data: 0
Name: '&b&lSmall &f&lKey locker'
Permission: 'keylockers.small'
Lore: - '&b
{keys
}/
{max
}'
- ''
- '&b&lKeys:'
Glow: false
#The max key amount the key locker can hold. Max: 100
Chance: 5
#The key placeholder identifier will be placed in the lore like shown above. #This means what goes after the key place identifier will be replaced by the key-placeholders. key-Placeholder-Identifier: 'Keys:'
#Format the keys in the lore. #Make sure you have all the keys listed here as shown in the keys section. Key-Placeholders:
basic:
Name: '&b&lBasic
: &f{amount}' epic:
Name: '&6&lEpic
: &f{amount}' legendary:
Name: '&d&lLegendary
: &f{amount}' serverkey:
Name: '&c&lServerKey
: &f{amount}' #The format is keyname:chance Keys: - 'basic:80'
- 'epic:10'
- 'legendary:5'
- 'serverkey:3'
#Here you set your crate command. Key-Command: 'crate give
{player
}{crate
}{amount
}'
medium:
Material: 'CHEST'
Data: 0
Name: '&b&lMedium &f&lKey locker'
Permission: 'keylockers.medium'
Lore: - '&b
{keys
}/
{max
}'
- ''
- '&b&lKeys:'
Glow: false
#The max key amount the key locker can hold. Max: 200
Chance: 10
#The key placeholder identifier will be placed in the lore like shown above. #This means what goes after the key place identifier will be replaced by the key-placeholders. key-Placeholder-Identifier: 'Keys:'
#Format the keys in the lore. #Make sure you have all the keys listed here as shown in the keys section. Key-Placeholders:
basic:
Name: '&b&lBasic
: &f{amount}' epic:
Name: '&6&lEpic
: &f{amount}' legendary:
Name: '&d&lLegendary
: &f{amount}' serverkey:
Name: '&c&lServerKey
: &f{amount}' #The format is keyname:chance Keys: - 'basic:80'
- 'epic:10'
- 'legendary:5'
- 'serverkey:3'
#Here you set your crate command. Key-Command: 'crate give
{player
}{crate
}{amount
}'
large:
Material: 'CHEST'
Data: 0
Name: '&b&lLarge &f&lKey locker'
Permission: 'keylockers.large'
Lore: - '&b
{keys
}/
{max
}'
- ''
- '&b&lKeys:'
Glow: false
#The max key amount the key locker can hold. Max: 300
Chance: 15
#The key placeholder identifier will be placed in the lore like shown above. #This means what goes after the key place identifier will be replaced by the key-placeholders. key-Placeholder-Identifier: 'Keys:'
#Format the keys in the lore. #Make sure you have all the keys listed here as shown in the keys section. Key-Placeholders:
basic:
Name: '&b&lBasic
: &f{amount}' epic:
Name: '&6&lEpic
: &f{amount}' legendary:
Name: '&d&lLegendary
: &f{amount}' serverkey:
Name: '&c&lServerKey
: &f{amount}' #The format is keyname:chance Keys: - 'basic:80'
- 'epic:10'
- 'legendary:5'
- 'serverkey:3'
#Here you set your crate command. Key-Command: 'crate give
{player
}{crate
}{amount
}'
supersize:
Material: 'CHEST'
Data: 0
Name: '&b&lSuperSize &f&lKey locker'
Permission: 'keylockers.supersize'
Lore: - '&b
{keys
}/
{max
}'
- ''
- '&b&lKeys:'
Glow: false
#The max key amount the key locker can hold. Max: 400
Chance: 20
#The key placeholder identifier will be placed in the lore like shown above. #This means what goes after the key place identifier will be replaced by the key-placeholders. key-Placeholder-Identifier: 'Keys:'
#Format the keys in the lore. #Make sure you have all the keys listed here as shown in the keys section. Key-Placeholders:
basic:
Name: '&b&lBasic
: &f{amount}' epic:
Name: '&6&lEpic
: &f{amount}' legendary:
Name: '&d&lLegendary
: &f{amount}' serverkey:
Name: '&c&lServerKey
: &f{amount}' #The format is keyname:chance Keys: - 'basic:80'
- 'epic:10'
- 'legendary:5'
- 'serverkey:3'
#Here you set your crate command. Key-Command: 'crate give
{player
}{crate
}{amount
}'
#BUTTON types #Key - allows you to withdraw a special key #WITHDRAW_ALL - allows you to withdrwa all keys #MORE TO COME! KeyLocker-Menu:
Name: '&b&lKey Locker Menu'
Upgrade-Name: '&8Upgrade Menu'
Size: 18
GUI-Items:
Withdraw-Item:
Button: 'WITHDRAW_ALL'
Material: 'CHEST'
Data: 0
Name: '&7Click to
all withdraw keys'
Lore: - '&7You have &fx
{keys
} &7to withdraw'
Glow: false
Slot: 4
Key-Item-Basic:
Button: 'KEY'
#You can only have key: when you have set the button to key Key: 'basic'
Material: 'PAPER'
Data: 0
Name: '&7Click to withdraw
all &bBasic &7keys'
Lore: - '&7You have &b
{amount
} &7to withdraw'
Glow: false
Slot: 2
Key-Item-Epic:
Button: 'KEY'
Key: 'epic'
Material: 'PAPER'
Data: 0
Name: '&7Click to withdraw
all &bEpic &7keys'
Lore: - '&7You have &b
{amount
} &7to withdraw'
Glow: false
Slot: 0
Key-Item-Legendary:
Button: 'KEY'
Key: 'legendary'
Material: 'PAPER'
Data: 0
Name: '&7Click to withdraw
all &bLegendary &7keys'
Lore: - '&7You have &b
{amount
} &7to withdraw'
Glow: false
Slot: 6
Key-Item-Serverkey:
Button: 'KEY'
Key: 'serverkey'
Material: 'PAPER'
Data: 0
Name: '&7Click to withdraw
all &bServerKey &7keys'
Lore: - '&7You have &b
{amount
} &7to withdraw'
Glow: false
Slot: 8
Upgrade-Backpack:
Button: 'UPGRADE'
Material: 'OAK_SIGN'
Data: 0
Name: '&7Click to upgrade your backpacks maxsize'
Lore: - '&7Drag the keylockers you dont use and upgrade the max size.'
Glow: false
Slot: 13
Fill-Item:
Material: 'STAINED_GLASS_PANE'
Data: 7
For support, please use only resource discussion
Terms of Service By using this plugin, you agree to the following terms, which may be updated by the author at any time.
All payments are final and non-refundable.
Redistribution or resale of this plugin is prohibited.
You are not permitted to modify, decompile, or extract any part of the plugin's source code.
Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.