Hey there,
We had a very old plugin for 1.6 of MC where we have lootboxes (that's what we call them). However, they no longer work and after moving to the new system I don't think I even have the source code anymore.
What I am looking for is a way to build a shulkerbox up with a few items, usually these are items from an event, so they have unique names, are unique, maybe have an enchant to them.
This way as owner only (we used to have this limited to just my username), I could create a lootbox with a chest interface.
My thought about it these days is:
I simply make a shulkerbox, rename it, color it.. open it regularly as anybody can.. put the unique items in there as i make them one by one.. And use a command from /cmi to set certain lore and whatever.. So it's not just anvil renamed, but admin-renamed.
What I am looking for is a way to hold it in my hand and type: /lootbox save eventname
And that it would register that exact shulker box, with the exact content ..
This way i can spend 1 afternoon making the events, and spend an hour making the lootboxes as prizes for the events to give to multiple players.
Then when the event is over and they have to get their prize i just type: /lootbox load eventname
And my empty hand gets the lootbox we previously saved in it.. exactly as we saved it.
After which I can just simply put it in the player's inventory, or use our /gift command, etc.. depending which server we're on.
Basically... i just need a way to save, load, list the lootbox or 1mbprize or eventprize or whatever is a logical name (but we always called it lootbox)
<mrfloris> /lootbox
- help for 1mb plugin: 1mb-lootbox.jar
- commands: /lootbox save|load|list|help|del
<mrfloris> /lootbox help
- help for 1mb plugin: 1mb-lootbox.jar
- commands: /lootbox save|load|list|help
- save [name] : saves shulker box as it is in your hand, requires [name]
- load [name] : loads previously saved shulker box into your empty hand, requires [name]
- list: quick list of previously saved lootbox names
- help: this page, obviously
- del [name]: short for delete, removes a stored lootbox name
<mrfloris> /lootbox save
- oops, example: /lootbox save banana
<mrfloris> /lootbox save banana
- success, was able to save the banana lootbox
<mrfloris> /lootbox save banana
- oops, there's already a lootbox with that name
<mrfloris> /lootbox load
- oops, example: /lootbox load banana
- help, try: /lootbox list
<mrfloris> /lootbox load banana
- oops, make sure your hand is empty.
<mrfloris> /lootbox load banana
- success, was able to load the banana lootbox
<mrfloris> /lootbox load pvpevent
- oops, there's no lootbox with the name pvpevent
- help, try: /lootbox list
<mrfloris> /lootbox list
- oops, seems there are no lootboxes saved.
- help, try: /lootbox save
<mrfloris> /lootbox list
- success, found at least one lootbox:
> banana, pvpevent, creative, skyblock, mobarenaJanuary,
- help, to load: /lootbox load [name]
<mrfloris> /lootbox del pvpevent
- oops, there's no lootbox with the name pvpevent
- help, try: /lootbox list
<mrfloris> /lootbox load banana
- success, the lootbox with the name banana has been deleted.
is this something you know how to do, if this is even possible perhaps?
Is this something you'd like to do?
What are the options to have this sorta exclusive to our 1mb servers?
like.. if i dont pay, you open source it and release it on spigot?
but, .. if i pay a small fee, maybe you give me the source and a working build, and i get to keep it to use on your and my network?
Just thinking outloud, i am pretty sure eventually i find a way to do this semi easy for myself, i already hack my way around achieving what i want, but it just takes too long.. i rather use some commands to do this properly, also.. this way i can load an old box, update it, and save it as a new box.