2024-12-10 17:48:09|Myriagame |source:minecraft skins
Foreword:
This MOD is actually the MOD written by my high version that facilitates the update of the integrated package. Considering that Version still does not consider internationalization enough, so I focused on strengthening this aspect.
The method of use is actually similar to Versioner.
If you know how Versioner is used, please refer to the template UPD8R/Template directly.
0. About API and FancyMenu linkage
After hard work, it has achieved linkage with Fancymenu (but the latest version has not been uploaded when writing this tutorial). The editing text of FancyMenu can easily obtain the variables of UPD8R, such as Curren Version, Latest Version, etc.
If you want to call the API of this MOD, you can easily obtain it easily by coming.
So you can also pass in Kubejs
var info = java.loadClass ('com.tkisor.upd8R.API.INFOUTIL')info.getisupd8r ()
Call this way.
1. Configure Config
This MOD's config comments are relatively detailed, but here it is given a Chinese explanation.
If the mod is updated, please refer to the MOD.
{{"Basecfg": {
"ENABLESIONCHECKING": true,
"Versiondataurl": [[
],,,
"Updateurl": {
"Zh_cn": "https://www.awa.com/"
},
"VersioncheckerConnecttimeout": 5000,
"Versioncheckerreadtimeout": 5000
},
"CurrentVersion": {
// Version number, compares the new version through this."Versioncode": 0,
"VersionFormat": "%VersionName%",
// version name.If there is no VersionCode on the cloud, you will try to compare VersionName.
"VersionName": "1.0.0"
}
}
2. JSON configuring the cloud
For the latest templates, please refer to UPD8R/Template.
You can upload the JSON file to github, gitee, etc., then click the file, click RAW (or original data), copy the links, and fill in it into config.
JSON's explanation is as follows:
If you don't want to fill in which option, it is best to delete it directly instead of empty.{{
// version name, here is "the latest version"
"VersionName": "1.0.0.0",
// Version number, here is "the latest version number"
"Versioncode": 25565,
// version format, show players
"VersionFormat": "%VersionName%or%VersionCode%",
// Update the link, the priority is higher than the local area
"Updateurl": {
"En_us": "https://github.com/tki-sor/upd8r"
},
// Update logs
"Changelogs": {
"1.0.0": [[
"AWA",
"Ovo"
], "2.0.0": [
"Qwq"
]
},
// Welcome, players will choose one randomly when joining the world.
"Welcomemessage": {{
"Tag": ["AWA1"],,
"Tag2": ["AWA2"],,
"Tag3": ["advancements.story.mine_stone.title"]]
}
}
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22