playfab-economy-v2

Integrate PlayFab Economy v2 for virtual currencies and inventory in Unity.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill playfab-economy-v2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playfab-economy-v2
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/08-backend-monetization/playfab-economy-v2
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill playfab-economy-v2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and implementation for integrating PlayFab Economy v2 into Unity projects, enabling robust management of virtual currencies, item catalogs, player inventories, and transactional purchases, replacing outdated v1 patterns.

Core Features & Use Cases

  • Full Economy v2 Integration: Covers setup, authentication, catalog management, inventory handling, and purchase flows.
  • Virtual Currency & Item Management: Implement and manage in-game currencies and items.
  • Transactional System: Facilitates secure player purchases and inventory updates.
  • Use Case: Set up a virtual currency system (e.g., Gold) and allow players to purchase in-game items like swords or potions using this currency, ensuring all transactions are handled securely via PlayFab.

Quick Start

Use the playfab-economy-v2 skill to set up the PlayFab SDK and authenticate the player.

Frequently Asked Questions about playfab-economy-v2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate PlayFab Economy v2 in Unity to manage virtual currency?

To integrate PlayFab Economy v2 in Unity, use this Skill to set up the PlayFab SDK, authenticate players, and manage virtual currencies via C# scripts. It provides a secure backend for in-game transactions and item persistence.

What is the best way to handle player inventory and purchases using PlayFab in Unity?

The best way to handle player inventory and purchases in PlayFab is using the Economy v2 API. This Skill guides you through catalog management and transactional purchase flows to securely update and persist player inventory data.

How do I migrate from PlayFab Economy v1 to v2 for my Unity game backend?

Migrate from PlayFab Economy v1 to v2 by replacing outdated patterns with the updated catalog and inventory management workflows. This Skill provides C# scripts and implementation guidance for the v2 transactional purchase system.

Does PlayFab Economy v2 support custom item stores and virtual currency systems in Unity?

Yes, PlayFab Economy v2 supports custom item stores and virtual currency systems in Unity. This Skill covers the requirements for implementing in-game currencies like Gold and setting up stores for items such as swords or potions.

Do I need the PlayFab SDK to set up authentication and virtual economy transactions?

Yes, you need the PlayFab SDK installed in your Unity project to set up player authentication and execute virtual economy transactions. This Skill leverages C# scripts dependent on the SDK to facilitate secure purchases.

Why use PlayFab Economy v2 instead of v1 for managing in-game monetization?

Use PlayFab Economy v2 instead of v1 to leverage updated patterns for managing virtual economies and item catalogs. This Skill helps replace outdated v1 implementations with a robust transactional system for secure monetization.