Plugin category: FUN Suggested name: MysteryBox What I want: In this plugin, you can receive Mystery Tokens by command. Using the tokens, you can open mystery boxes. There are 6 types of mystery boxes; Common, Uncommon, Rare, Mega, Ultra, and Legendary. You can customize the loots that can be found in the mystery boxes by hand. Setup: To create a Mystery Box, simply look at an ender chest and type /mb create {rarity}. This will create a hologram on top of the ender chest with one of the following names: Common: &7&lCommon Uncommon: &f&lUncommon Rare: &a&lRare Mega: &d&lMega Ultra: &9&lUltra Legendary: &c&lLegendary To use a Mystery Box, you right click the chest with the token. Tokens will have the following names: Common: &7&lCommon &eToken Uncommon: &f&lUncommon &eToken Rare: &a&lRare &eToken Mega: &d&lMega &eToken Ultra: &9&lUltra &eToken Legendary: &c&lLegendary &eToken When opening a mystery box. A small chest GUI will open up with a bunch of white glass panes all named "&bClick for random loot!". Once a panel is clicked, it will turn into a loot from the list of the specified rarity. You can only click 5 random panels until the mystery box is closed. Ideas for commands: (admin) /mb create {rarity} (admin) /mb give {playername} {rarity} {amount} - gives player specified token Ideas for permissions: mb.{rarity} gives permission for specified rarity. When I'd like it by: 9/25/15
Could you possibly share the plugin with us once its done, I've been looking for something similar for a while now. Thanks, ~Anarchy
Definitely. I'll post it in dev.bukkit.org. Unfortunately, I won't be able to work a lot tomorrow, but I'm sure it will be done by the 17th.
I'm I able to use HoloAPI as API for the holograms? Unfortunately, I'm not still able to code them from scratch... I'll try to develop a without dependencies version soon.
As promised, it is! I found the "Mega" and "Ultra" rarities a little bit useless, so I didn't implement them. Available Loot (Move your mouse to reveal the content) Available Loot (open) Available Loot (close) Common: Material.WOOD, Material.STICK, Material.BOAT, Material.COAL, Material.SEEDS,Material.COBBLESTONE, Material.BRICK, Material.CLAY, Material.APPLE, Material.ARROW,Material.GLASS, Material.SAND, Material.BOWL, Material.BROWN_MUSHROOM, Material.RED_MUSHROOM Uncommon: Material.IRON_INGOT, Material.COAL, Material.CARROT_ITEM, Material.POTATO_ITEM,Material.BREAD, Material.COOKED_CHICKEN, Material.JACK_O_LANTERN, Material.ARROW, Material.BONE,Material.GOLD_NUGGET, Material.MUSHROOM_SOUP, Material.BAKED_POTATO Rare: Material.IRON_INGOT, Material.GOLD_INGOT, Material.OBSIDIAN,Material.EXP_BOTTLE, Material.NETHER_WARTS, Material.MELON_SEEDS, Material.PUMPKIN_SEEDS,Material.SADDLE Legendary: Material.DIAMOND, Material.GOLDEN_APPLE, Material.DIAMOND_BLOCK, Material.NETHER_STAR,Material.OBSIDIAN, Material.BLAZE_ROD, Material.EMERALD, Material.REDSTONE, Material.DIAMOND_BARDING,Material.GOLD_BLOCK How is loot selected? (Move your mouse to reveal the content) How is loot selected? (open) How is loot selected? (close) Every material has 1/(number of items available for the chest rarity) of being given to a player. Every item-stack has as amount a random integer that varies from 1 to 10. Dependencies (Move your mouse to reveal the content) Dependencies (open) Dependencies (close) http://dev.bukkit.org/bukkit-plugins/holographic-displays/ : Holographic Displays from Filoghost (used to implements holograms on each MysteryBox). Special features (Move your mouse to reveal the content) Special features (open) Special features (close) Custom tab completion; Token UID verification. ToDo (Move your mouse to reveal the content) ToDo (open) ToDo (close) Custom loot; Custom chest/token rarities (and colors); Custom loot probabilities; The plugin will be released on dev.bukkit.org after completing those tasks. Known problems (Move your mouse to reveal the content) Known problems (open) Known problems (close) Chests don't open if clicked on the top - Due to holograms' entity (Minecraft limitation). Download: http://dev.missaglia.org/bukkit/MysteryBox.jar Happy to help!
... I didn't find them useless... which is why I asked u to make it... um.. can u fix that? Could you also maybe just bump up the hologram by a bit and possible add particle effects when you open chests? Like smoke the color of the name of the Mystery Box goes flying up when you open a chest?
I'll release an 100% customizable version soon. You'll be able to add your custom rarities and items.
When is "soon"? ... /mb doesn't work... EDIT by Moderator: merged posts, please use the edit button instead of double posting.
When I'll have as much free time as I need. Please understand that I'm not paid for doing this and I'm just volunteering; so that's certainly not a priority for me. I never said to have implemented a /mb command. You can use /mystbox, which is way more descriptive. What doesn't work? Being so generic doesn't help neither you nor me.
Ok sorry I was just hoping for a sooner reply - I asked for /mb to be implemented which is why I thought that would work. That was was didn't work, so sorry again! Well /mystbox simply results null in chat and in console... EDIT by Timtower: merged posts, please use the edit button instead of double posting.
You probably didn't insert the HolographicDisplays plugin. Are you sure that the plugin successfully enables on startup?