foreach($sender->getServer()->getOnlinePlayers() as $onlinePlayer) $onlinePlayer->getInventory()->clearAll();