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. :)
now the list of commands is working but there is no /lootbox create there and when I create manually in config.yml http://pastebin.com/Z6q8Z7AF . then when I type the /lootbox list lootboxes the PandoraBox is not there but the lootboxes I created is in config.yml and then /lootbox give ArtHD box PandoraBox and /lootbox give ArtHD keys PandoraKey is not working too and when I try /i 54 1 Name:&4&lPandoraBox Lore:cPandoraSet and /i 131 1 Name:&b&lPandoraKey Lore:&fIt can be used to open a PandoraBox. and when I right click the key in my hand nothings happen please help @TheOatBaron and how to set permission and/or give me pastebin of lootbox config.yml that will work and I will change the lootboxes and the keys rewards and names etc. Hayst. Thanks Hope you can help me. :) :)
hey the lootbox v2.0b is not working when I type the /lootbox help command or any /lootbox commands nothing is happening the list of commands doesn't show. please help I'm hoping that this plugin will worked in my server thank you.
@SuperGakusei
Make sure to follow the NEW youtube tutorial as well and make changes to your config.yml as needed, thanks!
@SuperGakusei
Could you please make a backup of your config.yml (So that it is not in the Lootbox folder), download version 2.0b, and tell me if it works?
@TheOatBaron why when I right click the lootbox or the key the item inside of it dont show in my inventory only the command eco give and the broadcast.
Here is my config.yml for Lootbox
-> http://pastebin.com/D4kJBRWk Here is my groups.yml for GM-> http://pastebin.com/uRf5NGJ4 Here is my server.log-> http://pastebin.com/fQegtyKnPlease Help. ! Thank You
@Kiriot22
lootbox.open
Here's a tutorial! https://www.youtube.com/watch?v=uZrnOAiY6-I
How to give players permissions to open a lootbox?
theoatbaron can you make a version for 1.5.2 please i need this plugin. any version 1.8, 1.7.9 or 1.7.2 is not working in my server 1.5.2 please help. thanks
I will be posting a tutorial in a day or two, stay posted!
Verification complete! Make sure to back up your config.ymls before updating and continuously through use! I'm uploading a new tutorial right now.
In the process of verification! Hold tight.
Lootbox v2.0 will be released on Dec 31st, 2015 (Happy New Year!)
This edition includes:
Note that some features previously available in 1.4 will NOT be available in 2.0. This is beta version and future updates will encompass they features.
Best Wishes,
TheOatBaron
but why the other server using lootbox and they can use lootbox that they created and its working but me cannot only the eco give is working
@SuperGakusei
What timing! This project was abandoned for the past few months.
I have recently picked up this project again and will be releasing an update shortly. The newer version will be written with object-oriented principles meaning that the code will be much easier to deal with and update. Unfortunately, the config is being re-written so it may be difficult to port over exisiting config.ymls into the new format.
More to come...
@TheOatBaron please help me theres a problem why the lootbox chest dont give anything item i create i put armors and swords inside of it but why theres no anything or just 1 items give ? please help
here is my config.yml
-> http://pastebin.com/GbHmtBSzNOOOOO My whole server is around this plugin. Its so much fun.
Sorry Everyone :C
The code is hopeless to fix, I made several attempts to recover any useful pieces from it but its too poorly written (Eorse than Mineplex! Actually, that's not possible - but close). I am open-sourcing the project and encourage whoever wishes to take from it do so! The code is quite blatantly shitty so don't use it for a learning experience.
To all of you looking for a replacement plugin, I HIGHLY recommend Crates Reloaded (http://dev.bukkit.org/bukkit-plugins/crate-reloaded/). It is written much better than Lootbox and encompasses many more features.
Best of luck, TheOatBaron
Abandoned!! Noo! This was one of my favorite plugins!
The Update sounds very interesting, and exactly what I'm looking for. I'd love to see it in action. If you can make that happen soon, I'd love to show it off to everyone on my server, and make a Youtube video for it. I really just need the stationary chests, as I'd be using this to give prizes to my players for voting, but they need to be in the right world to do it. Everything looks good at the moment. Can't wait to see more!