I have a username autocomplete set up. With the usernames, if multiple matches are returned than it will cancel (unless one of the matches is the...
New version can be found here - http://www.sendspace.com/file/aevpsz I'm unsure how to hook into the autocompletion stuff, so for now I havn't...
Oh, you must have caught the link before I edited it out. I forgot I was using fake data to test it, so no players where ever entered. Fixed now...
I've uploaded the plugin to sendspace for now - http://www.sendspace.com/file/hz01ke I'll probably clean the code a bit, and upload it to...
I've just been playing around with connecting to a MySQL database for while to make sure I can do this before I say anything. I could probably...
For the teleportation thing, use another else if. It is teleporting to level 2, but since level 2 now contains the players name, it'll then...
I don't think the BlockGrowEvent covers cocoa. At least it didn't last time I played around with it.
It looks like there's a typo in the config for both MailBoots and MailLeggs. Output-Ammount: 1 Amount should be spelt with 1 m, to conform with...
Ahmet094 - This would be your problem. If you havn't spotted it yet. It may require @Override too.
A second method works too, would probably be better. (Provided (byte)0 doesnt work). Oops, its i.getData().getData(). Got confused because the...
No problems. I think the byte data for diamond/normal items would be 0. Not too sure. If 0 doesn't work, you could just add a check which ignores...
The code I posted, I actually tested. It worked fine on my end. "ArrayListack>" is never in the code I posted.
Oh. Didn't know Collections couldn't be cast to ArrayLists. Theres a constructor for ArrayLists which take a collection. That will work....
Didn't add the () to the end of .values(). Also added in the ? extends casting, In case it's required. if(checkForAmount((ArrayList<?...
The Integer in the hashmap is the Item Slot which isn't required for what is needed. Once again, should work, in theory. haha...
My mistake, I misread what the overloaded contains method does. It does only look at single stacks. You may need to use the all(Material...
Completely forgot about the second part here. if (player.getInventory().contains(Material.DIAMOND, 2) { int amountToRemove = 2;...
Try a different contains method. contains (Material material, int amount) - Check if the inventory contains any ItemStacks with the given...
Maybe your spacing is off. Below is just using 2 spaces to indent. Try that. name: ModernWarfare main: com.bj.mw3.ModernWarfare version: v0.1...
It looks like its the way you are defining authors in the YAML. Using this as reference, authors should be defined like so: authors: [Cogito,...
Separate names with a comma.