Creating an online multiplayer leveling and unlock system

I am creating an online multiplayer first person shooter and would like to get some tips on how to create a unlock and leveling up system similar to Call of Duty or Battlefield.There would be a currency to buy certain attachments, perks, or cosmetics. Any help would be appreciated.