> ## 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.

# 將附加元件設定為僅在遊戲內商店提供

> 設定略過 Microsoft Store 清單、僅透過 XBOX GDK 中的 XStore API 在遊戲內銷售的 Durable 和 Consumable 附加元件。

本文說明如何設定沒有自己的 Microsoft Store 清單、只能透過遊戲內商店購買的 Durable 和 Consumable 產品類型。

## 定義

此設定可讓您在 Microsoft Store 中隱藏 Durable 和 Consumable 附加元件產品。您可以使用 XBOX Game Development Kit (GDK) 中提供的 XStore API，在遊戲內公開這些產品以供購買。

## 適用的產品類型

* Consumable
* Durable/Durable with Packages

## 不適用的產品類型

* Game
* Game Demo
* Bundle
* Add-On Bundle
* Season Pass

## 設定

1. 前往 **Partner Center**。
2. 找到您要設定的附加元件產品。
3. 使用頁面導覽，選取您產品類型的設定模組：**Consumable setup** 或 **Durable setup**。
4. 在 **Setup details** 區段中，選取 **Doesn't have its own Microsoft Store listing**。
5. 選取 **Save draft**。
6. 使用頁面導覽，選取 **Pricing and availability** 模組。
7. 如有需要，請在 **Visibility** 區段中啟用並設定 **Private Audience**。如需詳細資訊，請參閱[可見度 - 對象](/zh-TW/publishing/game-publishing/concepts/availability/visibility-audiences)。
   1. 如果已設定 **Private Audience**，則只有已定義使用者群組中的使用者才能購買產品。
8. 在 **Purchasability** 區段中，選取 **Can be purchased (from within the parent product only)**。
9. 在 **Schedule** 區段中，選取 **Show options**，然後設定排程。
   1. 將 **Release** 設為使用者可以開始購買附加元件的日期和時間。
   2. 將 **Stop acquisition** 設為使用者無法再購買附加元件的日期和時間。
10. 在 **Pricing** 區段中，設定您的價格。
11. 捲動至頁面底部，然後選取 **Save draft**。
12. 準備就緒時，選取 **Review and Publish**，將您的設定發佈到開發沙箱或 RETAIL。

## 另請參閱

* [Consumable 附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons/consumable-add-ons)
* [Durable 附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons/durable-add-ons)
* [套件](/zh-TW/publishing/game-publishing/concepts/packages-overview)


## Related topics

- [消耗性附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons/consumable-add-ons.md)
- [附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons.md)
- [授予玩家附加元件內容的存取權](/zh-TW/publishing/xstore-commerce/xstore-granting-access.md)
- [建立並發佈遊戲的附加元件](/zh-TW/publishing/game-publishing/tutorial-xbox-managed/how-to-create-use-publish-add-ons.md)
- [耐久性附加元件](/zh-TW/publishing/game-publishing/concepts/add-ons/durable-add-ons.md)
