Flexible Cmd Inputs

模组

· 作者 Noxphant

允许客户端通过 Web UI 或 API 执行命令。

0 本站下载 0 关注 更新于 10 个月前

最新 0.9 · 1.20.6 · Fabric

一键开服(送7天)

简介

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)监控,简化了命令操作流程。

使用说明

Access :[port] or :[port] to enter the WebUI.


访问 http://localhost:[port] 或 http://127.0.0.1:[port] 即可进入 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 接口

  1. Request Method: POST Request
  2. 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)


  1. 请求方式:POST 请求
  2. 访问地址:
http://localhost:[port]/api/cmd?command=[command]

[command] 指待执行的 Minecraft 命令。 [port] 必须与模组的当前端口号一致(可通过 /fci getport 查看)。 返回格式:JSON(直接返回执行结果)

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源