int numOfPotions = 0; Inventory inv = player.getInventory(); for (int i = 0; i < inv.getSize(); i++) { if...
In your constructor you could have YourPlugin plugin = (YourPlugin)Bukkit.getPluginManager().getPlugin("YourPlugin"); right? That wouldn't...
Are you referring to lines 70 and 77? getItem(int index) takes an Integer (The location in the inventory) and returns an ItemStack. If you want...
Your plugin.yml shows your main as me.pierce.JoinBook.JoinBook but your JoinBook class is in me.pierce.test Are you sure your plugin is actually...
Change public void onEnable() { Bukkit.getServer().getPluginManager().registerEvents(this, this); PluginManager pm =...
He's registering his event twice it looks like...
Still looking for a dev? I'd like to make this for both our servers. Add me on skype if you'd like to talk. Username is MastaC
Simple enough question, but I haven't seen an answer for it. Is is any advantage in using the scheduler to start a task instead of creating a new...
Copy and pasted your code into my own plugin. Besides the semicolon that you said you put in, there are no issues with it. Could you paste the...
Ok, so I intercepted packet 53. It checks if that location is a DungeonBlock. If it is, and the player is in the editor mode, it will write the...
Maybe Comphenix could give us an answer?
blablubbabc I'll take a look at the scheduler. This is my first plugin so I'm sure my practices aren't the best. These blocks are part of a system...
Hi there! I'm working on a plugin that requires fake blocks to be sent to certain players. Easy, just use player.sendBlockChange(). I can left...
You could also disable animals, monsters, npcs, villages, strongholds, etc.
You checked all of Bukkit's code? Impressive! When NoLagg is updated for 1.5, why don't you try an examine report?
As of 1.5, you can rename a mob egg, throw it down and the spawned mob will have a name. Is there any kind of API implemented for changing mob's...
crushh87 Looks like on March 15th the Bukkit team started to overhaul their JavaDoc. That's the new folder being made. At 2:30 you can see all the...
Thanks for that link. That's where I got the idea and inspiration!
[media] Made using Gource and yesterday's snapshot on GitHub. Enjoy!
How would one go about loading a CustomItemStack from a yamlconfiguration? Edit: Ahh, think I have figured it out! ItemStack item = new...
Separate names with a comma.