@DoggyCode™ I mainly said it for his benefit not yours, :)
@DoggyCode™ You would want to check if a player killed them first, before casting it to a player.
You could do most of the stuff you have said with NMS. A few tutorials come to mind:...
^^^^^^^ @Rowinvd All the getLogger().info does is display text in the console which it already does by default, it just gets annoying when lots...
Whats not working? Please provide errors. By the way please remove pointless " getLogger().info" it isn't needed. Oh also your plugin.yml needs...
The class isn't a listener therefore it will not be registered
What errors are you getting?
Also, please use loops when repeating lots of code because there is no need to be spamming: p.getInventory().addItem(new...
You could make a taskID like so: taskID = this.getServer().getScheduler().scheduleSyncRepeatingTask() Then in an AsyncPlayerChatEvent use:...
@Elimnator What like this @EventHandler public void onPlayerInteract(PlayerInteractEvent event) { Player player = event.getPlayer();...
@BurnerDiamond Well with the map you just increment the int every time that player gets a kill and then when a player goes to buy an enchant check...
Snip
@norwayman4 If we just hand you code, you will only be back later with questions about how it doesn't work because you didn't write it yourself....
@norwayman4 Loops are really basic java nothing to do with bukkit, I would really go learn at least basic java before moving on to bukkit....
In the Onplayerjoin event create a new scoreboard and set it to player?
Like @WinX64 said thats a good way of doing this without Ids involed, you want to really switch over to all materials not ids at all.
You talking about changing mob pathfinding and I can tell you now it's not an easy thing:...
Use ItemStacks: Material material = player.getItemInHand().getType(); ItemStack i = new ItemStack(material,1); int Material2 =...
@glasseater Im using 1.7.9 and a slightly later craftbukkit verison than you, I get no warnings and using a spawn egg yes.
@glasseater I can't see anything wrong here, I just copied all that code into my server and it works! I'm not sure why it's not working for you....
Separate names with a comma.