Thanks a lot timtower you're a legend :)
me/intelligamez/damageone/Main has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java...
I export it as .jar file and put it inside my plugins folder. It doesn't show up when I use /plugins and doesn't run the code as well
Listener 1: package me.intelligamez.damageone.listeners; import org.bukkit.Bukkit; import org.bukkit.entity.Entity; import...
ok the plugin is finally error free I checked and casted it but now it doesn't work when I drop it into the plugins folder Main File : package...
So this is the code I came up with is the Player p going to be the player here ? @EventHandler public void onDamage(EntityRegainHealthEvent...
Hmm ok, how can I get the player who received damage, getEntity() Gets an entity right ? So how can I link Player to getEntity()
I need help with detecting damage taken by a player. Can I listen for a PlayerDamageEvent (Haven't found a event like that yet) If listeners don't...
Separate names with a comma.