QueryInfo

模组

· 作者 YELANDAOKONG

一个允许通过 HTTP 获取正在运行的 Minecraft 客户端信息的模组。

0 本站下载 0 关注 更新于 1 年前

最新 1.3.0 · 1.21.1 · Fabric

一键开服(送7天)

QueryInfo

README.MD (Github)


关于此模组 / About this mod

这是一个允许其他程序通过 HTTP 协议从正在运行的 Minecraft 客户端获取信息的模组。

This is a mod that allows other programs to obtain information from the running Minecraft client via the HTTP protocol.

示例 / Example

Example Usage

你可以使用其他语言编写类似这样的小工具。

You can use other languages to write small tools like this.

配置文件 / Config

{
  "enableDebug": false,
  "apiHost": "127.0.0.1",
  "apiPort": 25800,
  "apiPortMax": 25899,
  "apiAcceptQueueSize": 256
}

模组将尝试从 apiPort 开始绑定端口(用于 API 服务)。如果绑定失败,则递增 1 并继续尝试,直到达到 apiPortMax。

The mod will attempt to bind to a port starting from apiPort (for the API service). If binding fails, it will increment by 1 and continue until apiPortMax.

功能 / Features

目前提供的 API 可以获取客户端玩家名称、UUID 和位置,以及列出世界实体等功能。更多 API 将在后续更新中提供。详细信息请参阅 GitHub 上的 API 文档。

The currently available API provides the ability to retrieve the client player's name, UUID, and location, as well as list world entities. More APIs will be available in future updates. For more details, please refer to the API documentation on GitHub.

依赖 / Dependencies

Fabric API

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源