YiRanVersionCheck - Version Checking in Minecraft
This mod provides a convenient way to retrieve text information from external sources when joining the game. The system automatically loads data from your specified web links and displays it in the game chat.
Main Features
The mod supports configuration of two URL addresses: primary and backup. When connecting to a server or starting a single-player game, the primary source is checked first. If access to it is unavailable, the system automatically switches to the backup option.
Special Formats
For flexible configuration of displayed text, two types of placeholders are available:
${version}- substitutes the version value from the configuration filetext- creates clickable links in the chat
Usage Example
Consider a practical example with a file hosted on Gitee:
last version:§41.0.0-hotfix§r
your version:§6${version}
if you have questions, you can §b§nopen Bing
Configuration settings:
# primary URL for checking
checkUrl = "https://gitee.com/bakayiran/version-check-test/blob/master/test.txt"
# current mod version
version = "0.1.0"
# backup URL (can be left as "null")
secondaryCheckUrl = "null"
Game result:
