If you don't mind me self-promoting, I've made a plugin that has these features. The plugin is MoreItems:...
You can't move the cursor to a specific slot, you can however re-open the inventory to reset the cursor.
I usually use my own class with a hashmap storing the key (uuid) and the value (your own class). That way you'll have the useful data in your own...
Thank you! Did some work and got it to work with the LinkedList, but I'll try out the CircularFifoQueqe too.
I clear the slots list frequently though?
I tried a bit of what you said, but could not get it to work. Here is my code. I try it out in-game and nothing seems to happen, where it should...
Hello, I'd like some help regarding having more options in the PlayerItemHeldEvent. In the event you can get the previous slot the player had and...
The ItemFlag.HIDE_POTION_EFFECTS might be what you're looking for?
*Cough* Shameless plug *cough* Use my plugin MoreItems. You can create custom crafting recipes with custom item ingredients in it too....
A cylinder is a cirlce if you don't change the y axis. WE already has this made in the link I gave you.
@VinexAx789 Don't use the thing Megamichel said. Use the date instead. His is viable if you plan on deleting it a few minutes or seconds later,...
@VinexAx789 if you're looping through all the files with players, then yea.
Instead of using the block damage event, try using the interact event and check if it's a left click block. That way it'll fire multiple times I...
I've done this before. What I did was save a date to each player file I made. I then sometimes (for example on startup) check the dates and...
Try taking a look at how WorldEdit makes cylinders....
Yea here it is: @EventHandler public void onEntityDamageByEntity(EntityDamageByEntityEvent e) { if (!(e.getDamager() instanceof...
No no, the item is already in the inventory. I added that way before. Updating the inventory wouldn't work as all items get cleared. Removing the...
Hello Bukkit. I'm having trouble removing an item. When I try to set the amount to 1 less than before it removes the entire inventory and I have...
Thank you very much! I do save only a key in the lore and then I have all variables in a config.
I don't believe it will help, as it works with when damaging entities, but here you go: public String convertToInvisibleString(String s) {...
Separate names with a comma.