跳到正文

Integration API

作者:JustS-js

Library and API to manage abstract integrations via observer patterns and callbacks. Twitch and DonationAlerts integrations bundled!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Library and API to manage abstract integrations via observer patterns and callbacks.

This library has okhttp3, java_websocket and SocketIO-client bundled so there is no need to install them separately.

Right now library has implementations for Twitch Integration and Donation Alerts Integration (both Centrifugo and SocketIO versions), you can use it from the get go. If you need another service – you can easily create one yourself by using abstract classes from the lib (check out TwitchIntegrationImpl as example).
There might be more implementations for other popular services in the future.

常见问题

Integration API 支持哪些 Minecraft 版本?

Integration API 支持 Minecraft Java 版 1.21.10–26.2,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Integration API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

JustS-js 的其他作品

查看全部 →