QueQiao icon indicating copy to clipboard operation
QueQiao copied to clipboard

[Version Support]添加对 Forge 服务端,1.7.10 版本的支持

Open half-drop opened this issue 1 year ago • 4 comments

服务端类型

Forge

服务端版本

1.7.10

其他补充

1.7.10 Forge 的模组社区十分庞大,但将1.7.10模组服务器接入 Velocity 又非常困难。因此希望能够添加对 1.7.10 Forge 的支持

half-drop avatar Oct 07 '24 06:10 half-drop

开的是Forge端还是混合端啊?插件方面实现起来会比mod方便。

17TheWord avatar Oct 07 '24 07:10 17TheWord

开的是Forge端还是混合端啊?插件方面实现起来会比mod方便。

Forge端。 大型模组包只能用原版forge端开,混合端存在难以察觉的兼容性问题。

half-drop avatar Oct 07 '24 09:10 half-drop

如果你有能力的话可以先pr,最近有点小忙

17TheWord avatar Oct 10 '24 13:10 17TheWord

由于 1.7.10 过于久远,暂未实现对应的Mod。你可以使用经过小重构的 日志读取程序

  • 支持自定义正则规则,可以匹配加入离开聊天三种信息
  • 支持多种 chat/join/quit 匹配
  • 自定义玩家名、信息索引

配置文件示例

log_path: ".\\logs\\latest.log"

# 以下正则均为原版示例

chat_regex:
  - regex: "(.*)]:(.*)<(.*)> (.*)"
    player_group: 3
    message_group: 4

join_regex:
  - regex: "Server thread/INFO]: (.*) joined the game"
    player_group: 1

quit_regex:
  - regex: "Server thread/INFO]: (.*) left the game"
    player_group: 1

获取

Action: https://github.com/17TheWord/QueQiao/actions/runs/11515656094 下载:https://github.com/17TheWord/QueQiao/actions/runs/11515656094/artifacts/2103325596

使用

启动:java -jar QueQiao-minecraft+origin-0.0.5.jar 连接 mc-pluginnonebot-plugin-mcqq

配置文件

  • ./config/QueQiao/regex.yml
  • ./config/QueQiao/config.yml

已知问题

  • 开启程序后,第一批读到的消息长度为 日志开始第一条符合正则的消息,消息过长不易判断,所以不做处理,后续符合的消息正常发送。
  • 未知……

17TheWord avatar Oct 25 '24 09:10 17TheWord

终抵群星(经过一年的努力)! 前往 https://modrinth.com/plugin/queqiao/versions 获取1.7.10测试版本

  • 目前问题
    • 无法监听到加入、退出事件(优先修复)
    • 命令事件部分异常,建议关闭
    • 死亡消息监听异常

17TheWord avatar Aug 09 '25 17:08 17TheWord

终抵群星(经过一年的努力)! 前往 https://modrinth.com/plugin/queqiao/versions 获取1.7.10测试版本

  • 目前问题
    • 无法监听到加入、退出事件(优先修复)
    • 命令事件部分异常,建议关闭
    • 死亡消息监听异常

已在0.2.0.post1正式版中修复上述问题

17TheWord avatar Aug 09 '25 18:08 17TheWord