async void OnLogin(PlayerPostLoginEventArgs e) { try { Contributor con = await Contributors.GetAsync(e.Player.User.ID); if (con != null) { // Start listening to events con.Listen(this, e.Player); // Store the contributor object e.Player.SetData(Contributor.DataKey, con); await con.UpdateNotifications(); } } catch { // Catch any exception that is thrown here to prevent pointless error messages } }