Minecraft version: 1.8.8 Suggested name: Mysterybox What i want: So you can spawn a floating head that can be right clicked to drop a random item from the config file, the head or the box will disappear when you right click it and add a random item into your inventory and it will respawn after 15 seconds in the same location (the box), also i want to mention that you can set multiple spawn location for the box. thanks Ideas for commands : /setbox Ideas for permissions : mysterybox.set - admin perm to set the box When I'd like it by : Take your time.
Hello, I have started working on this plugin for you and should most likely have it ready sometime tomorrow or in two days time. Would it be okay with you, if I made a small modification to your original idea? Essentially I want to make it work as follows: In config.yml file you would define the loot boxes that can be found throughout the world/game. Each box needs to have a unique key (ex. red_loot_1), but can have the same label and itemPreset. This will allow you to create multiple mystery boxes, that can contain the same items and have the same name displayed (essentially making it seem like it's the same box)... Code: red_loot_1: previewOnly: true itemPreset: red_loot label: Red loot location: world: world x: 24.325 y: 88.0 z: 8.7 In order for the plugin to decide which items certain loot boxes will have, you assign them their itemPreset. Essentially all items with the same itemPreset (can be any custom string you choose) will have the same drops inside of them. And to modify these presets, you can just use command /setbox [item_prest_name] and then add/remove items through GUI. Everything else would stay the same (the preview of boxes thing, how you collect them, etc...) Please let me know what you think. Kind regards
Hello, I am almost done with the plugin. I have completed/developed all the functionalities except for how the boxes look like. What should they look like? Are they just custom "materials"/blocks from in-game (grass block, ender chest, etc...), player heads, etc...? Kind regards
They are a custom skull item with a texture idk if you can do it with custom texture but if yes i have the textures Green Red Yellow
Hello, I have successfully developed this plugin. I will be providing you with the .jar plugin file and a markdown file with documentation on how this plugin works, the permissions, commands, configuration file layout, etc... One thing that I wanted to mention here and didn't include in the documentation is the "texture" field in the configuration file... As mentioned this is a Base64 encoded texture string. In the website you used in your previous post, you can find this value all the way on the bottom of the website under "Other -> Value" In case you have any questions or if you run into any issues, feel free to message me here and I'll try to help as much as I can. The .jar is sadly too large to upload here and markdown files are not supported, so here is a link to the Google Drive folder where you can find both files: https://drive.google.com/drive/folders/1OF0aqA644tsjrkSTu2YRsO1opI5TzVRY?usp=sharing Kind regards, Newt