PHP: public function onDrop(PlayerDropItemEvent $event){ $player = $event->getPlayer(); if($player->isCreative()) $event->setCancelled();}