Hello everyone! I have been a member of the BukkitDev staff for a few months, I've talked to some cool people, I like the community, but these...
Sorry for the delay (I've been working), I ended up using another Method to nerf armor on my server -- removing it completely. I run a Bending...
Hello, just wondering if it is possible to reduce the amount of protection armor gives you by a factor. IE 1/6 of the protection it would normally...
Don't forget plugin.saveConfig(), otherwise the data wont persist through a reload.
zombie.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 1000, 1000), true); Check your syntax for PotionEffectType. The value 1000 is a...
This method is working wonderfully, it doesn't hang the server, but I am getting an exception when running the method. The Stack Trace:...
How would I toss something like this into a LinkedList and be able to retrieve all the data? I don't have much experience working with...
Hello, so I am working on a ban plugin that runs on MySQL / SQLite. I am building a converter into the plugin so you can convert from MySQL to...
Hello, how would I use the player.damage() method and have it negate armor? Just do raw damage on the victim?
If I wanted to deal damage to an entity, but wanted it to "pierce" the armor they have on, how would I do that?
Pastie Link To Error: http://pastie.org/8370976 Anyone know how to fix it?
Separate arguments in your if statement with && (this means AND). @EventHandler public void onEnchant(EnchantItemEvent e) { if...
You don't need .getContents(), it already has the contents when you get the data from the HashMap.
Just use one event and check if the item that is being enchanted is a Diamond Pickaxe. If it is not, have it cancel. You only need one event here,...
Separate names with a comma.