Lootbox
12/17/15 - NOTE: A re-work in the process. A working version is currently privately available and is waiting on public release. Please note that, on the outside, it will be less dynamic than the current version and quite a bit buggier. Unfortunately, this does tend to happen with code re-writes. Please stay tuned as the project is turned over to BETA and updates will be released accordingly. More to come this following week...
12/29/15 The re-work is near completion! Expect a release on New Years' Eve
1/1/2016: Happy New Years! Enjoy the update.
Lootbox

About
Lootboxes, mystery crates, loot chests, loot boxes, loot crates, whatever you call them! Reward your players for finding them & their keys (configurable) for epic loot!
Lootbox is like opening a chest, but it's in your inventory! You can configure it so that you can have multiple lootboxes that may or may not require keys to open. When they are opened, they can execute commands from the console and/or give items to the player. This will probably be the best drop party gift you could give your players or one of the most desired quest items! The possibilities are endless!
Lootboxes are, by default, chests with a special name and lore. They can be opened either by themselves or by a key (tripwire hook) as determined by the config.yml. They can be used in the following and more: Quests, treasure chests, drop party items, trade, donations! But really, the possibilities are endless.
Youtube Tutorial
https://www.youtube.com/watch?v=uZrnOAiY6-I
Commands
- /lootbox help <admin> - Displays the in-game help page.
- /lootbox open - Have the lootbox in slot 1 and key in slot 2. Then use this command to open.
- /lootbox reload - Reloads the config.yml
- /lootbox give <username> <key/lootbox> <UUID of lootbox/key> - Gives a player a specified key/lootbox.
- /lootbox preview - Previews with a virtual inventory what is inside a lootbox.
- /lootbox info - See a list of keys/lootboxes that can be used on the key/lootbox in hand.
- /lootbox list <keys/lootboxes> <e> - Lists all keys/lootboxes on the server. Add an 'e' on the end to see an expanded list.
Nodes
- /lootbox help - lootbox.help
- /lootbox open - lootbox.open
- /lootbox help admin - lootbox.admin.help
- /lootbox reload - lootbox.admin.reload
- /lootbox give - lootbox.admin.give
- /lootbox preview - lootbox.preview
- /lootbox list <keys/lootboxes> <e> - lootbox.list
- /lootbox info - lootbox.info
Configuration
Example config.yml: http://pastebin.com/H0sZhuA3
EID List:
- Names are case-sensitive
The chat options should be self explanatory.
Suggested Plugins
- http://dev.bukkit.org/bukkit-plugins/otherdrops/ - Set a drop to the lootbox name and lore and now mobs can drop lootboxes! Remember, the lore and name are case-sensitive!
- http://dev.bukkit.org/bukkit-plugins/treasurechest/ - Put lootboxes in these stationary treasure chests for better rewards!
- http://dev.bukkit.org/bukkit-plugins/event/ - Host drop parties and events where you give away lootboxes!
- http://dev.bukkit.org/bukkit-plugins/quester/ - Give lootboxes to players for completing quests!
- http://dev.bukkit.org/bukkit-plugins/loot-crates/ - An alternative, similar plugin.
Final Notes
Make sure that players have enough room are online and have room in their inventory when using the /lootbox give command. If they aren't online it won't be given to them and if their inventory is full it will drop at their feet, prime time for others to steal it. Please notify me about suggestions or bugs through the comments/tickets! Any comments are welcomed. :)
-
View User Profile
-
Send Message
Posted Feb 25, 2015Can use for item mod ?
-
View User Profile
-
Send Message
Posted Feb 15, 2015Whens the new update? Soon or not? I am so excited for it :D
-
View User Profile
-
Send Message
Posted Feb 7, 2015When is 1.5 coming out
-
View User Profile
-
Send Message
Posted Feb 7, 2015@jesjj
Could you paste your config.yml to pastebin.com and post the link here?
-
View User Profile
-
Send Message
Posted Feb 7, 2015I can't seem to get the execute commands thing to work. Specifically the eco give command.
-
View User Profile
-
Send Message
Posted Feb 1, 2015Alright guys, I'm going to have to postpone the update for a few days - I've encountered some major bugs resetting my work to
a) Look horrendous/hard to follow b) Unusual method names c) A single class
Proof that I have been working on this (700 lines!)
Lootbox 1.4 - http://pastebin.com/MkueE3aK
Current Status Of 1.5 - http://pastebin.com/f3ds8PA1
Sorry guys :/
-
View User Profile
-
Send Message
Posted Jan 28, 2015Lootbox 1.5 - February 1
Changes:
- First and foremost, my coding is now adequate. Before, it was a single class, illegible JAR that would torment any poor Bukkit Staff that had to review it. Now it uses multiple classes and standard Java programming practice.
- GUI Editor - Create lootboxes using a GUI, inventory based system. Just drag and drop the items you want in a lootbox into the editor. It's now all in /lootbox gui.
- Stationary lootboxes - Lootboxes that can be placed on the ground - more to come.
That's about it.
Follow-up patch:
- With all good things come the bugs. I am relying on you guys to report them either by submitting a ticket, pm, or comment. In addition to this I have a few features in mind.
- MultiColored Lootbox Names
- More GUI options
- More to come...
-
View User Profile
-
Send Message
Posted Jan 14, 2015You should make a Mineplex like LootBox plugin
-
View User Profile
-
Send Message
Posted Jan 13, 2015Hello good, I wanted to know how or if you in your new reloaded going to put that can be placed boxes and only someone comes and you only click the box, wanted to know if this option is already set or plan to put it. Thank You
-
View User Profile
-
Send Message
Posted Dec 30, 2014Hey guys, I've got a late Christmas present for you all :)
Lootbox Reloaded will be released in late January/early February! It will have all the same features as lootbox but in a stationary chest form!
-
View User Profile
-
Send Message
Posted Dec 9, 2014@xAcrosonicx
I found the problem :P
-
View User Profile
-
Send Message
Posted Dec 9, 2014For some reason, this crate isnt working for me. I do not get an error message, the crate just places for half a second and comes back into my inventory, unopened. Heres my config:
RareArmor_Crate:
color: '&a'
lore: '&5Armor crate, plus VIP, Legend, and LCG Armor!&b|&aRight click to open&b|&850% chance of getting money!'
requires-a-key: false
permission: rare
broadcast-message: '{PLAYERNAME} &7has opened a &5RareCrate&7.'
execute-commands:
- eco give {PLAYERNAME} 2500000 chance:50
min-items: 3
items:
- 310 1 0:8 34:6 name:&a&lSupporter chance:20
- 311 1 0:8 34:6 name:&a&lSupporter chance:5
- 312 1 0:8 34:6 name:&a&lSupporter chance:19
- 313 1 0:8 34:6 name:&a&lSupporter chance:15
- 310 1 0:9 34:6 name:&e&lDonator chance:10
- 311 1 0:9 34:6 name:&e&lDonator chance:12
- 312 1 0:9 34:6 name:&e&lDonator chance:18
- 313 1 0:9 34:6 name:&e&lDonator chance:7
- 310 1 0:10 34:7 name:&6&lThug chance:10
- 310 1 0:10 34:7 name:&6&lThug chance:12
- 310 1 0:10 34:7 name:&6&lThug chance:22
- 310 1 0:10 34:7 name:&6&lThug chance: 9
- 310 1 0:12 34:8 1:3 name&2&lVIP chance:12
- 311 1 0:12 34:8 1:3 name&2&lVIP chance:15
- 312 1 0:12 34:8 1:3 name&2&lVIP chance:19
- 313 1 0:12 34:8 1:3 name&2&lVIP chance:12
- 310 1 0:13 43:8 1:4 name:&1L&4e&1g&4e&1n&4d chance:19
- 311 1 0:13 43:8 1:4 name:&1L&4e&1g&4e&1n&4d chance:15
- 312 1 0:13 43:8 1:4 name:&1L&4e&1g&4e&1n&4d chance:13
- 313 1 0:13 43:8 1:4 name:&1L&4e&1g&4e&1n&4d chance:6
-
View User Profile
-
Send Message
Posted Nov 24, 2014@TrowbridgeHD
When I have time, yes. For the time being I recommend creating a Lootbox with those lootboxes inside. To do this, have the master lootbox that the donor will receive full of the lootboxes they want. Just make sure that the name and lore is name, case, and color exact.
-
View User Profile
-
Send Message
Posted Nov 22, 2014Can you please add an amount to be spawned in? I'm trying to make a bundle on my server for donators, but I run out of commands because I have to use something like 20 lines when really, all I should need is a max of 5 if I could use something like /lootbox give {name} box Common Crate 5
To give them Common Crates-
View User Profile
-
Send Message
Posted Nov 13, 2014@fillefilip8
Could you post your Lootbox config.yml and your Permissions you are giving?
-
View User Profile
-
Send Message
Posted Nov 12, 2014The permissions doesnt seem to work!
-
View User Profile
-
Send Message
Posted Nov 10, 2014@TheOatBaron
Okay no problem! I will use Crates Reloaded instead. All the best on the work load.
-
View User Profile
-
Send Message
Posted Nov 9, 2014@DominateCraft
Does Crates Reloaded fit your needs? I just got another job bringing the total up to 3 plus school, I'm putting Bukkit on hold at the moment.
-
View User Profile
-
Send Message
Posted Nov 6, 2014@TheOatBaron
Any news on when you are going to update the plugin so you can open boxes with a command without having them in your hand?
-
View User Profile
-
Send Message
Posted Oct 28, 2014Released! I hate hearing my voice recorded lol.
https://www.youtube.com/watch?v=zdMoDdpWh5I