I can give you a step-by-step guide for your specific setup.
When a player earns an achievement, the client-side component sends a request to the server-side component, which verifies the achievement and updates the player's record accordingly. This process often involves cryptographic techniques, such as digital signatures and hash functions, to ensure the integrity and authenticity of achievement claims. how to get achievements in pirated games