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.
ah 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.
how do you do anything with this plugin all i can do is /givekey (name) (amount)
pls reply and help
How to choose items what will we get after opening it? Please help
i 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
In 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!
I'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.
In 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."
In 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
As 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. :)
update for 1.14.2 ?
this is unclear about how to actually spawn in a crate
just wanted to let you know that
How do I add prizes to the create? It's a bit unclear.
we've made the crate and we've put the prizez on it and we've placed it down but the keys dont work help
/crates create [name]
In reply to michael_punt:
I 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
how to put your items u want in??
Make Work With Trapped And Ender Chests Please!
hey nate ! how do u get the chest 2 open the keys ?
How de we add a item prize?