feat: support custom server deployment drafts
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
"linux",
|
||||
"darwin"
|
||||
],
|
||||
"createFormSchema": "schemas/create-form.schema.json"
|
||||
"createFormSchema": "schemas/create-form.schema.json",
|
||||
"createFields": [
|
||||
{ "key": "serverName", "label": "服务器名称", "type": "text", "required": true, "configKey": "motd" },
|
||||
{ "key": "gamePort", "label": "游戏端口", "type": "port", "required": true, "defaultValue": "25565", "configKey": "serverPort" },
|
||||
{ "key": "rconPort", "label": "RCON 端口", "type": "port", "required": true, "defaultValue": "25575", "configKey": "rconPort" }
|
||||
]
|
||||
},
|
||||
"capabilities": [
|
||||
"process.install",
|
||||
|
||||
@@ -19,7 +19,13 @@
|
||||
"windows",
|
||||
"linux"
|
||||
],
|
||||
"createFormSchema": "schemas/create-form.schema.json"
|
||||
"createFormSchema": "schemas/create-form.schema.json",
|
||||
"createFields": [
|
||||
{ "key": "serverName", "label": "SCUM 服务器名称", "type": "text", "required": true, "configKey": "serverName" },
|
||||
{ "key": "gamePort", "label": "游戏端口", "type": "port", "required": true, "defaultValue": "7777", "configKey": "gamePort" },
|
||||
{ "key": "queryPort", "label": "查询端口", "type": "port", "required": true, "defaultValue": "27015", "configKey": "queryPort" },
|
||||
{ "key": "maxPlayers", "label": "最大玩家数", "type": "number", "required": true, "defaultValue": "64", "configKey": "maxPlayers" }
|
||||
]
|
||||
},
|
||||
"capabilities": [
|
||||
"process.install",
|
||||
|
||||
Reference in New Issue
Block a user