find the client country

Options
i want to stop certain country people for my gameplay how can i identify their country and stop them in connection