I have added a way to add items to crates by command.
As requested by
@ItzNic and
@Rayhon27, I have added a command to add items to crates. What you do is, you put the item you want to add to your hand, and you type a command to add it to a configuration section.
The format is:
Code (Text):
/mcrate addItem <crateName> <type:(normal or final)> <chance> <giveItem:(if false, command is used)> <command:(don't put anything here if giveItem is true)>
Examples can be, if I was holding a diamond sword and I wanted to add the item to the "normal" section and I wanted it to give a diamond sword I could type:
Code (Text):
/mcrate addItem January normal 50 true
The number 50 sets the chance to 50, but you can make it whatever you want as long as it's a whole number and it's not a negative.
Here is a command example:
Code (Text):
/mcrate addItem January final 50 false ss give %player% cow
This would be if I want the item in hand to show up as an icon, but I want the reward to give the player a silk spawner cow. Since I put "final" the reward is in the final section.
Have fun guys! This is a long awaited update and I worked hard on it.