> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 消耗性附加元件

> 設定由商店管理和由開發人員管理的消耗性附加元件，以販售有限使用次數的遊戲內項目，例如虛擬貨幣和可多次購買的物品。

消耗性附加元件可用來為客戶提供有限使用次數的遊戲內項目，這些項目可以多次購買，並根據設定的收到數量使用。例如，提供可在遊戲內商店消費的虛擬貨幣。您可以設定兩種類型的消耗性附加元件：**Consumable (Microsoft Store-managed)** 和 **Consumable (Developer-managed)**。

## 消耗性 (由 Microsoft Store 管理)

由 Microsoft Store 管理的消耗性可以在履行之前多次購買。客戶的餘額可以透過 Microsoft Store 或您自己的自訂服務追蹤。

## 消耗性 (由開發人員管理)

由開發人員管理的消耗性只有在先前的購買已向商店回報為已履行之後，同一位客戶才能再次購買。

如需詳細資訊，請參閱[產品建立與上線](/zh-TW/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-product-onboarding-and-configuration)。

## 建立和設定消耗性

1. 在 Partner Center 中瀏覽至您的遊戲產品。
2. 從左側導覽選取 **Add-ons**。
3. 在 **Add-ons** 頁面上，選取 **+ Create a new\...**，然後選取 **Consumable (Microsoft Store-managed)** 或 **Consumable (Developer-managed)**。
4. 輸入消耗性的識別碼。此識別碼會顯示在 Partner Center UI 中，並在遊戲程式碼中參考。

如需詳細資訊，請參閱[建立和發佈附加元件](/zh-TW/publishing/game-publishing/tutorial-xbox-managed/how-to-create-use-publish-add-ons)。

## 其他考量

如果您想為客戶提供不同數量的消耗性，請為每個數量建立一個附加元件。在每個附加元件的 **Consumable setup** 頁面中設定數量。您可以將數量設定為 1，並使用遊戲內邏輯將適當數量的項目授予客戶，或者也可以將數量設定為客戶將收到的對應項目數量。如需詳細資訊，請參閱[以消耗性為基礎的生態系統](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/fundamentals/xstore-consumable-based-ecosystems)。

## 後續步驟

<CardGroup cols={1}>
  <Card title="如何在組合中新增和編輯產品" href="/zh-TW/publishing/game-publishing/how-to/how-to-addeditproductstobundle" />
</CardGroup>

## 另請參閱

* [附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons)
* [供應情況 - 市場、定價、發行排程](/zh-TW/publishing/game-publishing/concepts/availability/availability-overview)
* [選擇正確的產品類型](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/getting-started/xstore-choosing-the-right-product-type)


## Related topics

- [認證逐步指南](/zh-TW/publishing/game-publishing/concepts/certification/certification-guide.md)
- [XR-037 內容套件的相依性](/zh-TW/publishing/certification/xr/xr-037.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
- [XBOX 遊戲的 XBOX 需求](/zh-TW/publishing/certification/xbox-requirements.md)
- [認證 (Certify)](/zh-TW/publishing/game-publishing/concepts/certification/certification-overview.md)
