介绍
Introduction 简介
Flexible Command Inputs (FCI) is a Minecraft client-side mod whose core functionality is to provide a WebUI/API for convenient in-game command input. It supports port configuration, log recording and client status (FPS/Ping/TPS) monitoring, streamlining the command operation process.
Flexible Command Inputs(FCI)是一款 Minecraft 客户端模组,核心提供 WebUI/API 便捷输入游戏命令,支持端口配置、日志记录及客户端状态(FPS/Ping/TPS)监控,简化命令操作流程。
Translation 使用说明
Access http://localhost:[port] or http://127.0.0.1:[port] to enter the WebUI.
访问http://localhost:[端口]或http://127.0.0.1:[端口]即可进入webui。
Commands | 指令
The mod provides the following commands:
/fci getport
Get the current port number of the WebUI/API (the default port number is 8080)
/fci setport [port]
Change the current port number of the WebUI/API to [port] (valid range: 1–65535)
模组提供了以下命令:
/fci getport
获取当前webui/api的端口号(默认端口号为8080)
/fci setport [port]
修改当前webui/api的端口号为port(1-65535)
API Interface | API接口
- Request Method: POST Request
- Access Address:
http://localhost:[port]/api/cmd?command=[command]
[command] refers to the Minecraft command to be executed.
[port] must be consistent with the current port number of the mod (you can check it with /fci getport)
Return Format: JSON (the execution result is returned directly)
- 请求方式:POST 请求
- 访问地址:
http://localhost:[port]/api/cmd?command=[command]
[command] 为待执行的 Minecraft 命令
[port] 为端口需与模组当前端口一致(可使用 _/fci getport_ 查看)
返回格式:JSON(直接返回执行结果)
常见问题
Flexible Cmd Inputs 支持哪些 Minecraft 版本?
Flexible Cmd Inputs 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Flexible Cmd Inputs 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分