KillReward

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

WeeSkilz

Developer | Indoor Enthusiast
Premium
Feedback score
0
Posts
120
Reactions
78
Resources
0

WeeSkilz

Developer | Indoor Enthusiast
Premium
Feedback score
0
Posts
120
Reactions
78
Resources
0
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);

}
}

But you've not registered your economy.

Also the code is here: https://github.com/WeeSkilz/KillReward
 
Status
This thread has been locked.
Top