My code: (Not really, but the idea of how my code written) PHP: $check = Item::get(377, 0, 1)->setCustomName("Anything");if($inv->contains($check)){ $this->doStuff();} The problem I'm having is after player quit and rejoin, the custom named item is still in inventory but $inv->contains(); doesn't work then, it works when player online and the custom named item added to its inventory. Any help is appreciated.