@@ -0,0 +1,1357 @@
+package com.gildorymrp.core;%0A%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.Listener;%0Aimport org.bukkit.event.entity.EntityDamageEvent;%0A%0Apublic class EntityDamageListener implements Listener %7B%0A%09%0A%09private final int MAX_DISTANCE = 16;%0A%09%0A%09@EventHandler%0A%09public void onEntityDamage(EntityDamageEvent event) %7B%0A%09%09if ((event.getEntity() instanceof Player)) %7B%0A%09%09%09Player damaged = (Player)event.getEntity();%0A%0A%09%09%09if ((((float) damaged.getHealth() / (float) damaged.getMaxHealth()) * 100.0D %3E 25.0D) && (((float) damaged.getHealth() / (float) damaged.getMaxHealth()) * 100.0D %3C= 50.0D)) %7B%0A%09%09%09%09for (Player player : event.getEntity().getWorld().getPlayers()) %7B%0A%09%09%09%09%09if (event.getEntity().getLocation().distance(player.getLocation()) %3C= this.MAX_DISTANCE) %7B%0A%09%09%09%09%09%09player.sendMessage(ChatColor.RED + ((Player) event.getEntity()).getDisplayName() + %22 appears wounded!%22);%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%09if (((float) damaged.getHealth() / (float) damaged.getMaxHealth()) * 100.0D %3C= 25.0D) %7B%0A%09%09%09%09for (Player player : event.getEntity().getWorld().getPlayers()) %7B%0A%09%09%09%09%09if (event.getEntity().getLocation().distance(player.getLocation()) %3C= this.MAX_DISTANCE) %7B%0A%09%09%09%09%09%09player.sendMessage(ChatColor.RED + ((Player) event.getEntity()).getDisplayName() + %22 appears gravely wounded!%22);%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A%0A

Add low health detection from old Gildorym plugin