Is Scamming in a game with real money illegal?

Yea so i was playing minecraft a guy came on and said he'd pay me in game money for my real life money And i was hooked it was very cheap but it wasn't official from the server So i payed the guy money and he sent me the money in game next he said he had more and i had figured he wasn't a scammer since he had kept his promise from before and given me the in game money So i sent him a bit more money only 20$ but still. This time he didn't send the in game money and got out of contact with me I would just like to know if this is illegal and if i can get this guy in trouble for this because scamming is wrong. And i feel if you do get scammed its not a very good feeling

Do you know who he is in real life? No? Then consider it lesson learned.

You will have to know him in real life to sue or anything but you CAN report him to mojang to get him banned from minecraft if they listen to you