EN_US
This mod allows you to fetch text from a specified link and display it in the chat window when joining the game.
The primary and secondary links can be configured in the configuration file .
The mod will first attempt to retrieve text from the primary link, and if that fails, it will try the secondary link.
The mod adds two placeholder formats:
${version} represents the version defined in the configuration file
[string](url) displays a clickable link in the chat window
ZH_CN
本mod允许你在加入游戏的时候从你指定的链接获取文本并在聊天栏显示
可以在配置文件设置主要链接和次要链接
mod会先尝试在主要链接获取文本,若获取失败则会尝试次要链接
mod添加了两个占位符形式
${version}代表在配置文件里面的version
[string](url)会在聊天栏展示可点击链接
Example
example use url
https://gitee.com/bakayiran/version-check-test/blob/master/test.txt
you can also use github url
File:
last version:§41.0.0-hotfix§r
you version:§6${version}
if you have question you can [§b§nopen Bing](https://www.bing.com/)
Config:
#在这里填入URL
checkUrl = "https://gitee.com/bakayiran/version-check-test/blob/master/test.txt"
#当前版本
version = "0.1.0"
#在这里填入次要URL
secondaryCheckUrl = "null"
In Game:
