So, I've stored an array of ItemStack in a YAML file. Writing the array to the file works perfectly. However, when I cast (ItemStack) to the...
Thank you so much! It worked like a charm!
Converted to List and iterated through list. Still nothing.
Figured I'd make this independent, not an edit, since it is significant.
I checked for errors, and found that the ItemMeta is null.
For some reason, that deletes every item in the chest.
EDIT: I am saving the inventory, not its length, if that makes any difference.
Why are you checking the fly speed?
Don't you want to check if the player is flying?
Could you post your getPlayersOnRed and getPlayersOnBlue method?
Since that doesn't really have anything to do with storing the data, like OP asked...
The easiest way would be MySQL, but as far as flatfiles go,...
You need to make a HashMap, as chasechocolate said. Check the HashMap instead of checking the Event user, because the code there applies to every...
Okay, so I'm trying to edit the ItemMeta of every item in a virtual chest, to include Lore. I've created a for loop for decreasing an integer, and...
From what I hear, you're developing a plugin for a good friend of mine, Serosi. It's already been made, but if you want to get the source code,...
I miss being able to sit down and code for fun.
Yes, you can totally disregard me :p
Go right ahead, anyone who has released a plugin on Bukkit probably just looks at you and thinks you're an...
Thank you very much! :)
Sent code line in Skype
I am asking for my own plugin. xD I mean, since you said I'd either have to get someone else's method or create my own.
So, maybe see if I can get one from VanishNoPacket, etc.? I know Vanish has an update checker.
You know PEX has a built-in demote command, right?
Separate names with a comma.