Hello! I'm going to just run through this quickly: I'm looking for a plugin that'll allow you to click on a player near-by, and a chest gui would pop up of items/weapons/etc that the player is showcasing in that gui, hopefully this will be simple enough. To add the showcased items into the chest gui, you would issue /collection open and it'll open your own collection gui to drag in your items to showcase them to other players. And of course, staff could have access to player's collections (/collectionadmin [playername]) and drag out any inappropriate items that they may find. What this is good for: Showing off named, enchanted, and cool items. It could be also used to showcase items that you'd like to trade as well. I hope that this plugin can be made, thank you so much.
How so? If you're talking about /invsee, that's completely different than what I'm asking for. Invsee shows the entire inventory, and not just a selective collection of items.
/invsee only shows the "backpack" and not the selectionslots. Would be great if someone did this. Regards
As a coder i do not know if bukkit has a method to get the items in someones hotbar. I do know you can get a item in a players hand Code:java getPlayer().getInventory().getHeldItemSlot() and i do know that the hotbar does have slot ids. I just don't know how to move through all the items in the inventory and just get the items in the hotbar Edit: I do know how, im just lazy
If someone tells me how to store items with the lores, enchantments and the name saved in a configurationfile, i could make this
It shows the hotbar slots, however, because of how the inventories are stored, they're just on the top instead of the bottom.
@Dibney, I've got a first version for the plugin. Here the link. Commands: * /collection : the next player you click will open his collection. * /collection open : opens own collection and lets you edit it. * /collectionadmin [playerName] : lets you edit the collection of the player named. Permissions: * showcase.edit.own : permission to edit own Collection * showcase.edit.other : permission to edit someone else's Collection
It's on a good start! I did find an issue, whenever you try to drag in something for /collection open, it will not allow you to drag anything in, do op's need the permission to edit it too? Also I'm unable to open other people's collections by clicking.
To now it is just click and add. Means when you click an Item, it is added. But only Items with a custom name can be added. I'm not sure if that is correct.
Ah! Let me just test that in a second then. Edit: That aspect works fine, but when someone removes the item from the collection, it disappears. Also when you drop the item in your collection, it'll remain in the collection.
HM. Okay. How exactly should the Plugin react? A player clicks an item in his inventory and a copy is Transfered to bis collection. 2.nd a player wants to remove the item Form bis collection so he clicks the item and the copy is removed. The original Item is never touched. Please correct me if I bot something wrong.
I like this system better than my idea now that I think about it, but now the only thing that needs to be tweaked is the "clicking the player to view the collection" thing! I'm so excited. I also have a request, would it be possible to add an option to rename the collection? Like "enchanted things" "prized possessions", etc. by a command? And perhaps with that, a command that would reset the name via /collectionadmin? If you can do all this, you'd be the best person in my book right now.
It is possible to change the Name of a collection. At the moment they are named after a player. But it would be no Problem to Name them after something else. I'll geht some sleep and do that tomorrow (12 am here. )
Sorry, I didn't have much time yesterday. I have a question: Can a player have more that 1 collection or not? For orrientation, it is possible to add if you want.