The guy never hacked my account. He was playing offline under my name. You don't have to track his IP.
Well @JPCVx if you ever get hacked, make sure to keep your minecraft card like the thing you bought the code on because if he does, you can tell mojang your code and they can get your account back. I have been hacked before so i know how to do it.
I just searched my gmail for all emails from Mojang. I found my transaction ID incase I'd ever need to use it. Thanks for the suggestion
The you have been logged in from another location thing doesn't mean you've been hacked. Trust me, I made my password long and complicated and I get this a few times on minetime.
@Mark_Beaster @PlatinumDefend3 If someone does something really bad on the internet, sometimes using a DDoS is what some people do as a "punishment". I don't exactly agree with it, but I'm not them, so I don't know the situation.