Keys and Crates
Keys And Crates

Keys and Crates is a great plugin for any server. You can easily give any player a key then all they have to do to open a crate it click on any chest with the key. You can configure what is in the crates however you would like.
Commands
/givekey <player> <amount> - Give a player a crate key.
Permissions
crates.givekey - Permission to run the /givekey command.
Configuration
Example layout: (The "»" are to represent indenting).
prizes:
»»test:
»»»»name: '&6Test'
»»»»id: 1
»»»»command: say <player> won something from a crate
»»»»chance: 1
message: &7You have won &6<prize>&7!
Now step by step "prizes:" - All prizes must be under this section.
"test:"(aka the name) - This is just a tag for the prize. Each one must be different.
"name:" - This is the name of the prize that will show up in game.
"id:" - This is the item id of the item that will show up in the crate.
"command:" - This is the command that will be run through the console when this prize is won.
Use ";;" to separate multiple commands.
"chance:" - This is the chance of getting this prize. The higher the chance is, the more common.
"message:" - This is the message that will be sent to the player once they have one a prize.
What it looks like
Placeholder API (optional)
This plugin can use placeholders from PlaceholderAPI in any commands or the prize retrieval message.
-
View User Profile
-
Send Message
Posted Oct 31, 2023ah yes a plugin made with the ass... if you create ONLY 1 command to give the key it's normal that this then becomes a trash plugin. Give us also a way to create a CUSTOM crate clown.
-
View User Profile
-
Send Message
Posted Nov 3, 2022how do you do anything with this plugin all i can do is /givekey (name) (amount)
pls reply and help
-
View User Profile
-
Send Message
Posted Apr 12, 2021How to choose items what will we get after opening it? Please help
-
View User Profile
-
Send Message
Posted Jul 25, 2020i got the plugin working and even changed some items but when i test it the item dosent go into my inventory. anything i need to change or am not doing right? thanks
-
View User Profile
-
Send Message
Posted Jul 27, 2020In reply to Wakorb:
Hello!
I get the confusion. But the item that shows up is merely a visual. If you want the player to receive change the "command" to a "give" command instead of "say." If you would like to run multiple commands separate them with ";;"
I hope this helps!
-
View User Profile
-
Send Message
Posted Jul 13, 2020I'll be glad to make a video about how it works....
But yet I don't know how to create the crate.
I wonder most things are created in the config.
But a response about how to make the crate appear In game would help.
-
View User Profile
-
Send Message
Posted Jul 21, 2020In reply to juanvee:
Hello!
At the moment, any chest in the world can be opened. The trick is that the player must click on it with the key that is given by "/givekey."
-
View User Profile
-
Send Message
Posted Mar 9, 2021In reply to juanvee:
The easiest way to check the all commands is
/bukkit:help crates
or if your are using the older ver of minecraft spigot
/help keysandcrates
-
View User Profile
-
Send Message
Posted May 5, 2020As to this plugin I do quite enjoy it, however a bug I found is if you right-click a chest without anything in your hand it causes an error to occur. In order to fix this check to see first if the player isn't holding null.
I look forward to an update soon. :)
-
View User Profile
-
Send Message
Posted May 29, 2019update for 1.14.2 ?
-
View User Profile
-
Send Message
Posted Feb 24, 2018this is unclear about how to actually spawn in a crate
just wanted to let you know that
-
View User Profile
-
Send Message
Posted Jan 31, 2018How do I add prizes to the create? It's a bit unclear.
-
View User Profile
-
Send Message
Posted Apr 16, 2017we've made the crate and we've put the prizez on it and we've placed it down but the keys dont work help
-
View User Profile
-
Send Message
Posted Mar 31, 2017/crates create [name]
-
View User Profile
-
Send Message
Posted Apr 2, 2017In reply to michael_punt:
-
View User Profile
-
Send Message
Posted Feb 22, 2017I am having a problem with GUI Menus where when I menu is open, I am able to take the item from the GUI and place in my inventory.. So for the plugin for an example, as the crate is scrolling through the possible items to win I am able to click the items and place in my inventory and have them as an item.. Im not sure how to fix this and its not just this plugin its all plugins I use with a GUI..Please help
-Thanks
-
View User Profile
-
Send Message
Posted Jan 22, 2017how to put your items u want in??
-
View User Profile
-
Send Message
Posted Jan 9, 2017Make Work With Trapped And Ender Chests Please!
-
View User Profile
-
Send Message
Posted Dec 23, 2016hey nate ! how do u get the chest 2 open the keys ?
-
View User Profile
-
Send Message
Posted Feb 23, 2016How de we add a item prize?