@@ -0,0 +1,1493 @@
+package fr.plx0wn.Rewards;%0A%0Aimport org.bukkit.configuration.file.FileConfiguration;%0Aimport org.bukkit.entity.EntityType;%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.Listener;%0Aimport org.bukkit.event.entity.EntityDeathEvent;%0A%0Aimport fr.plx0wn.MobsReward;%0Aimport fr.plx0wn.Utils;%0A%0Apublic class Players implements Listener %7B%0A%0A%09public static FileConfiguration config = MobsReward.instance.getConfig();%0A%09public static FileConfiguration msgconf = MobsReward.msgconf;%0A%0A%09@SuppressWarnings(%22deprecation%22)%0A%09@EventHandler%0A%09public void onEntityKill(EntityDeathEvent e) %7B%0A%0A%09%09double playersDeath = config.getDouble(%22players.death%22);%0A%09%09double playersKill = config.getDouble(%22players.kill%22);%0A%0A%09%09if (e.getEntity().getKiller() instanceof Player) %7B%0A%09%09%09Player player = e.getEntity().getKiller();%0A%09%09%09EntityType type = e.getEntityType();%0A%0A%09%09%09if (type.equals(EntityType.PLAYER)) %7B%0A%09%09%09%09if (config.getBoolean(%22enabled.player-death%22))%7B%0A%09%09%09%09%09MobsReward.economy.withdrawPlayer(player.getName(), playersDeath)%0A%09%09%09%09%09%09%09.transactionSuccess();%0A%09%09%09%09%09player.sendMessage(%0A%09%09%09%09%09%09%09Utils.ColoredString(msgconf.getString(%22players.death%22)).replace(%22%3Closs%3E%22, %22%22 + playersDeath));%0A%09%09%09%09%7D%0A%09%09%09%09if (config.getBoolean(%22enabled.player-kill%22))%7B%0A%09%09%09%09%09MobsReward.economy.depositPlayer(player.getName(), playersKill)%0A%09%09%09%09%09%09%09.transactionSuccess();%0A%09%09%09%09%09player.sendMessage(%0A%09%09%09%09%09%09%09Utils.ColoredString(msgconf.getString(%22players.kill%22)).replace(%22%3Creward%3E%22, %22%22 + playersKill));%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create Players.java