you would need to modify your client to actually send you their mac address (for their network card presumably).
UUID – generate UUIDs (or GUIDs) in Java if you can find a way to implement this into your server then you will be safe.
you have to write all the code yourself since nobody has done it before, but it's your best chance. good luck pal.