It is possible PHP: private $tntplacer = [];public function onBlocPlace(BlockPlaceEvent $event){ $player = $event->getPlayer(); if($event->getBlock()->getId() === Block::TNT){ $this->tntplacer[strtolower($player->getName()] = $block->floor(); }}public function onHurt(EntityDamageEvent $event){ $ent = $event->getEntity(); if($event instanceof EntityDamageByEntityEvent && ($tnt = $event->getDamager()) instanceof PrimedTNT){ $pos = $tnt->floor(); if(in_array($pos, $this->tntplacer)){ $placer = array_search($pos, $this->tntplacer); unset($this->tntplacer[$placer]); $placer = Server::getInstance()->getPlayerExact($placer);//this! } }} This was a fast code, it won't work all the time since the position of TNT, floored, can differ from the block pos on ignition.
Ah! I know what do you mean i save the coords into a array as key and set the value to the player who placed it ty ^^
Save the coordinates of the tnt block when it is activated with Flint n' Steel, through PlayerInteractEvent?