Can u code a plugin whereas everytime u get a kill, you get 1 xp level and money using essentials currency?
~ Thanks
~ Thanks
I could code this in a minute. It's like 8 lines of code.
@EventHandler
public void onKill(PlayerDeathEvent e) {
if (e.getEntity().getKiller() instanceof Player) {
Main.econ.depositPlayer(e.getEntity().getKiller().getName(), 50.0D);
e.getEntity().getKiller().setLevel(e.getEntity().getKiller().getLevel() + 1);
}
}
