---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.4
alternate:
  - https://yandex.com/dev/games/doc/en/console/draft-mode.md
  - https://yandex.com/dev/games/doc/ru/console/draft-mode.md
  - https://yandex.com/dev/games/doc/tr/console/draft-mode.md
  - https://yandex.com/dev/games/doc/zh/console/draft-mode.md
  - href: zh/console/draft-mode.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/zh/llms.txt

# 草稿模式

<!-- source: zh/_includes/script-common.md -->
<!-- source: zh/_includes/script/index-js.md -->

<!-- endsource: zh/_includes/script/index-js.md -->

<!-- source: zh/_includes/script/requirements-js.md -->

<!-- endsource: zh/_includes/script/requirements-js.md -->

<!-- source: zh/_includes/script/image-modal-js.md -->

<!-- endsource: zh/_includes/script/image-modal-js.md -->
<!-- endsource: zh/_includes/script-common.md -->

{% note alert %}

需要在Yandex Games平台上[注册](https://yandex.com/dev/games/doc/zh/console/manage-account.md)并创建[游戏草稿](https://yandex.com/dev/games/doc/zh/console/add-new-game.md#step-create-draft)。

{% endnote %}

这种测试方法适用于在提交审核前对游戏进行最终检查的阶段。在此模式下，游戏与真实的Yandex Games平台进行交互。

特点：

- 游戏通过真实地址在[yandex.com/games](https://yandex.com/games){.external}打开
- 需将外部主机[添加](https://yandex.com/dev/games/doc/zh/console/add-new-game.md#step-check-host)至CSP规则才能发送请求
- 显示真实广告
- 玩家通过Yandex Passport授权
- 玩家数据和排行榜数据保存在服务器
- 商品目录从服务器加载，购买操作在服务器处理
- 可通过地址栏参数`&debug-mode=16`使用[debug面板](https://yandex.com/dev/games/doc/zh/console/debug-panel.md)

## 在草稿模式下打开游戏 {#open-draft-mode}

1. <!-- source: zh/_includes/console/open-console.md -->
   使用开发者账号登录[控制台](https://games.yandex.com/console){.external}。
   <!-- endsource: zh/_includes/console/open-console.md -->

1. 在控制台左上角点击[Games](https://games.yandex.com/console/applications){.external}。
1. 在列表中找到您计划测试的游戏并点击它。
1. 打开草稿：
    - 如果您是首次编辑游戏，请点击**Create draft**。
    - 如果您已有草稿，它将自动打开。
    - 如果游戏有多个未发布版本，请点击其中一个版本的名称。
1. 检查是否已加载最新的[归档文件](https://yandex.com/dev/games/doc/zh/console/add-new-game.md#field-archive)。如果没有：
    1. 选择新文件。
    1. 点击**Save**。
    1. 刷新**Draft**标签页。
1. 在**Archive**字段中，点击以下链接之一：
    - **Open draft**，查看用户将如何看到游戏。
    - **Open draft with debug panel**，在各种场景中测试游戏。
