yes you can, but i think $ip variable inside a Player object has been marked as private, so you will need to change that to public
I think we can get player's ip upon join, which when player sends PlayerLoginPacket or anything similar i dont remember, we can get the ip
so is getting the IP itself off packet THEN storing it into an array for future access better then $player->getAddress();?
Have fun. I wonder which method you are using? I hope you aren't starting a Wireshark service to detect identical packets from those you sent. How hard is it to call getAddress() upon a player?