Do I need a listener to detect a certain amount of a mob killed... Such as killing 5 chickens gives you a reward i can add the sender for the reward but how do i detect the chickens deaths...
Chicken mob is not implemented in PMMP yet, but you can register your own chicken. In my example I used chicken from TeaSpoon. PHP: public function onChickenDeath(EntityDeathEvent $e){ $ent = $e->getEntity(); //Chicken is CortexPE\entity\Chicken if($ent instanceof Chicken){ $cause = $ent->getLastDamageCause(); if($cause instanceof EntityDamageByEntityEvent){ $damager = $cause->getDamager(); if($damager instanceof Player){ //TODO $damager->sendMessage("You killed a chicken, man"); } } } }