anyone have an idea how i can make zombies prioritize villagers over player?
edit
the error say: Jar does not contain plugin.yml you sure you saved the plugin.yml? or that you saved it at the right place in the jar file?
^ use Bukkit.getServer().getScheduler().scheduleSyncDelayedTask
Just a quick tips you dont have to put If(commandLabel.equalsIgnoreCase("AUT") for every command. you just have to put it one time like this: if...
Maybe this will help http://forums.bukkit.org/threads/tutorial-how-to-customize-the-behaviour-of-a-mob-or-entity.54547/#post-980459
opps if(blockId == 49){ should be if(blockId == 325){
fix line 9: int blockId = player.getItemInHand().getType().getId(); if (blockId == 49){ fix line 26: ItemStack lava = new...
if you want the command to be /cc all, replace if (args[1].equalsIgnoreCase("all")){ with if (args[0].equalsIgnoreCase("all")){...
mickedplay just add this if (event.getCurrentItem().getType() == Material.COMPASS) {
@EventHandler public void onClickInventory(InventoryClickEvent event){ event.getResult(); event.setResult(Result.DENY); }
ItemStack arrow = new ItemStack(Material.ARROW, 64); p.getInventory().setItem(8, arrow); - the slots start at 0 so if you want arrows in...
Senexor p.getInventory().setItem(slot, itemstack);
You need to add @EventHandler
http://dev.bukkit.org/bukkit-plugins/worldguard/ ?
Separate names with a comma.