Simple Update Checker
Simple Update Checker 是一个小型模组,用于在游戏中通知有 Modrinth 整合包更新可用。 它同时适用于服务器和客户端。
更新信息会在服务器/客户端启动时显示在日志中,随后根据运行位置在其他地方显示。
对于客户端,它会在主屏幕(整合包名称/版本文本的右侧)显示更新信息,在游戏启动后每小时刷新一次。
对于服务器,它会在服务器启动后的日志中以及操作员加入时显示。之后,它将每 12 小时检查一次,直到找到更新为止;找到更新后,将以最后一条消息时间间隔翻倍的方式重复提示,最长延迟为 14 天(12 小时、1 天、2 天、4 天、8 天、14 天)。
也可以通过 /simpleupdatechecker check 命令手动触发检查,但刷新限制为每 15 分钟一次。
所有检查均可在 simpleupdatechecker_user.json 配置文件中禁用,或通过 /simpleupdatechecker settings 命令进行设置。
配置(用户)
你可以通过 /simpleupdatechecker settings <name> <value> 或在配置文件中更改设置。两者使用相同的名称。
你可以在 config/simpleupdatechecker_user.json 中找到配置文件,并通过 /simpleupdatechecker reload 命令重新加载它。
{
// 完全禁用更新检查
"disable_update_checking": false,
// 禁用在主菜单中显示整合包版本和更新信息
"disable_main_menu": false,
// 禁用在首次版本检查后在日志中发送更新信息。
"disable_logs_first_check": false,
// 禁用在服务器启动后在日志中发送更新信息。
"disable_logs_server_started": false,
// 禁用在日志中重复发送更新信息。
"disable_logs_late": false,
// 禁用在向 4 级操作员发送加入时的更新信息。
"disable_join_ops": false
}
配置(整合包)
此配置文件仅应由整合包创作者修改,因此仅包含与整合包相关的定义。
你可以在 config/simpleupdatechecker_modpack.json 中找到配置文件,并通过 /simpleupdatechecker reload 命令重新加载它。
{
// Modrinth 上的 Slug / 项目 ID,用于查找。
"project_id": "some_project",
// 递增格式的版本号,最好与 Modrinth 上提供的版本号一致。
"version_id": "1.0.0",
// (可选,留空则禁用)在主菜单和占位符中显示的整合包名称。回退到 project_id。
"display_name": "My modpack!",
// (可选,留空则禁用)用于显示的整合包版本,如果你希望显示效果不同。
"display_version": "",
// 允许的发布类型,与 Modrinth 的类型匹配。默认情况下允许所有类型,但你可以根据需要移除它们。
// 移除 "beta" 和 "alpha" 将防止推荐更新至 beta 和 alpha 版本。
"release_type": [
"alpha",
"beta",
"release"
],
// 最大(不包含)匹配版本号,应使用与 version_id / Modrinth 版本号相同的格式。
// 防止等于或高于提供版本的版本被匹配为更新。
"max_exclusive_version": "",
// 使更新版本在显示时使用版本号而非版本名称(顶部字段)。
"use_version_number_for_display": true
}
Simple Update Checker
Simple Update Checker is a small mod that adds in-game notification about Modrinth modpack update being available. It works for both servers and clients.
The update information is displayed in logs on server/client boot and then in other places depending on where it runs.
For clients, it displays update info on main screen (on right side from modpack name/version text), refreshing every hour after
the game starts.
For servers, it displays it in logs after server starts and for operators on join. After that, it will check it every 12 hours
until update is found, after which it will repeat it after double time from last message, up to 14 days of delay
(12 hours, 1 day, 2 days, 4 days, 8 days, 14 days).
The check can also be triggered manually with /simpleupdatechecker check command, with limitation of 15 minutes per refresh.
All the checks can be disabled in simpleupdatechecker_user.json config or via /simpleupdatechecker settings command.
Configuration (User)
You can change settings via /simpleupdatechecker settings <name> <value> or within config. Both use same names.
You can find the config file in config/simpleupdatechecker_user.json and reload it with /simpleupdatechecker reload command.
{
// Disables update checking all together
"disable_update_checking": false,
// Disables showing modpack version and update info in main menu
"disable_main_menu": false,
// Disables sending info about update in logs after first version check.
"disable_logs_first_check": false,
// Disables sending info about update in logs after server starts.
"disable_logs_server_started": false,
// Disables sending info about update in logs repeatedly.
"disable_logs_late": false,
// Disables sending info about update to level 4 operators when they join.
"disable_join_ops": false
}
Configuration (Modpack)
This one should only be changed by modpack creator and as such only contains modpack related definitions
You can find the config file in config/simpleupdatechecker_modpack.json and reload it with /simpleupdatechecker reload command.
{
// Slug / Project id on Modrinth, used for lookup.
"project_id": "some_project",
// Version Number in incremental format, ideally same as one provided on Modrinth.
"version_id": "1.0.0",
// (Optional, empty to disable) Name of the modpack displayed in main menu and placeholders. Fallbacks to project_id.
"display_name": "My modpack!",
// (Optional, empty to disable) Modpack version used for display, if you want to make it look different.
"display_version": "",
// Allowed release types, matches with Modrinth ones. By default it allows all, but you can remove them as you want.
// Removing "beta" and "alpha" will prevent from recommending updating to beta and alpha versions.
"release_type": [
"alpha",
"beta",
"release"
],
// Maximum (exclusive) version that gets matched, should use same format as version_id / modrinth version numbers.
// Prevents from versions equal or newer than provided from being matched as update.
"max_exclusive_version": "",
// Makes update version use version number for display instead of version name (top field).
"use_version_number_for_display": true
}
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Update Checker
下载 Simple Update Checker
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧