Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Protocol_Launch

Shirasawa edited this page Nov 1, 2019 · 1 revision

协议 - 启动游戏

{
  "type": "launch",
  "version": "<version>",
  "options": <options>,
  "autoInstall": true/false
}

参数说明

version (要启动的版本)

类型: 字符串

可以为 版本名, 版本ID, (网络对象-版本), latest-release (最新发布的稳定版本), latest-snapshot (最新发布的快照版本)

例子:

  • 1.14.4
  • b7472ad16d074bb8336095262999a176
  • https://example.com/my-version.json

options (额外启动参数)

类型: 对象

{
  "server": { "ip": "服务器地址", "port": 25565 }
}

autoInstall (是否自动安装)

类型: 逻辑型