控制台输入
start -all启动所有服务;输入status查看服务运行状态。
| 命令 | 说明 |
|---|---|
start db|qq|llbot|bds|-all |
启动( bds 启动前会校验并按需重编行为包) |
stop … / restart … |
停止 / 重启 |
logs <svc> [-n N] [-f] |
推荐使用快捷键 CTRL + L(内存视图);持久文件在 <SFMC_ROOT>/.sfmc/logs/ |
init |
重新进入向导 |
update [--check-only] |
检查或安装 BDS 更新 |
module/mod list|install|build|reload|… |
(见 模块) |
packs/addon list|scan|install|… |
(见 资源包管理) |
remote enroll|status|disable |
远程控制 |
详细说明及更多命令请在控制台输入
help。
start bds / restart bds / start -all 在拉起 bedrock_server.exe 之前会:
- 扫描
<SFMC_ROOT>/packs/文件夹,安装世界 BP/RP(空文件夹无输出;见 资源包管理) - 比对模块资源包 内
sfmc-deploy-catalog.json与本机模块启用情况/指纹 - 不一致则会触发脚本编译,并写入
server-net权限(若无) - 打印装载摘要;失败则不启动 BDS
手动编译:
mod build;开发热更:mod reload
sfmc> start -all
会按 db → qq → llbot → bds 顺序拉起;bds 步含装载闸门。
下一章:模块