跳到正文

Post Server Join & Leave Messages to URL

作者:wifi-left

This is a mod to post Server Join & Leave Messages to the URL.

收藏

介绍

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

Minecraft Join & Leave Message Mod

Introduction

This mod will send a POST request to the URL you set in the config file, when the server starts or someone joins or leaves.

You can set the POST data and the URL in the config.

The config file: ./config/joinmsg.txt

Config Example

url=http://127.0.0.1/msg
join_prefix=Player 
leave_prefix=Player 
join_after= joined the game
leave_after= left the game
serverStart=The server has started!

Other uses

You can use Mirai + MiraiJS to realize the server player login message to QQ groups.

Commands

/miraimc help for more information.

For Development

Setup

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

License

Feel free to modify it for yourself.

常见问题

Post Server Join & Leave Messages to URL 支持哪些 Minecraft 版本?

Post Server Join & Leave Messages to URL 支持 Minecraft Java 版 1.16–1.19.3,共 15 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Post Server Join & Leave Messages to URL 怎么安装?

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

评论

登录后评论和评分

wifi-left 的其他作品

查看全部 →