搜索历史
清空
暂无搜索历史
论坛热搜
1
【MC整合包发布】乌托邦探险之旅3.2
热
3
[1.6.4]上古老物 冒险者传说 by WhiteSword
新
5
[转载]洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
[1.12.2]Jenny — 有趣的模拟女友模组|珍妮模组
热
4
幻虚斗罗V1.5[炫酷魂环][高级魂技][全模型贴图覆盖][超吸金]
6
[1.7.10] [HQM] [Mercury landing]水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 13|回复: 0

[模组分享] Runtime Hash Updater (运行时哈希更新器)-MOD模组

[复制链接]

5017

主题

60

回帖

1万

积分

龙❁妻

Rank: 8Rank: 8

经验
10298 EP
金粒
5181 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 19:10:05 | 显示全部楼层 |阅读模式
Runtime Hash Updater (运行时哈希更新器)Github |相关wiki |源站链接支持: fabric这是一个简单的 Fabric 模组,使您能够在服务器运行时更新服务器资源包的哈希。

这个模组能够让你在服务器运行时更新服务器资源包的哈希值。如果你和我一样,喜欢不断地向资源包中添加新的自定义模型,以增加对原版 Minecraft 的额外定制性,但又不喜欢因此而不得不要求其他玩家停下手头的工作,以便重新启动服务器来读取新的 SHA1 哈希值,那么这个模组就是为了解决这个问题而被创建的。

由于标准服务器只在启动时读取 server.properties 文件,所以每次更改资源包并添加新的哈希值时都必须重新启动。这就是为什么创建了这个模组,这样我就可以随心所欲地调整和添加,其他玩家可以自由加入和退出,而资源包会被 _自动_ 更新。

安装

仅在 Fabric __服务器__ 上安装。

1. 安装完成后,请确保您的 server.properties 文件有一个 SHA1 哈希值和一个资源包的 URL。哈希值不需要准确,因为生成的配置文件将用于提供您的更新后的哈希值。

2. 启动服务器并加入游戏。

3. 每当您更新资源包时,请将新的哈希值放入 `config/ResourcePackHash.txt` 文件中,或者使用新的哈希值运行 `/updatehash` 命令。

4. 添加新的哈希值后,请保存文件并重新登录游戏。它应提示您安装新的资源包。

使用方法:

安装完成后,您可以编辑 `config/ResourcePackHash.txt` 文件,或者运行 `/updatehash` 命令并提供新的哈希值来更新您的哈希值。

您可以使用 `/checkhash` 命令来获取一些关于当前提供的哈希值的信息。

命令

`/checkhash` : 将打印出有关当前提供的哈希值的信息。

`/updatehash HASH_EXAMPLE` : 将更新配置文件以包含提供的哈希值。

截图:



来自Modrinth所有游戏版本1.21.51.21.41.21.31.211.20.61.20.41.20.31.20.21.20.11.191.19.11.19.21.19.3所有类型fabric1.21.5 - Runtime Hash Updater 1.3.0SHA1Runtime-1.21.5-1.3.0.jar下载1.3.0#ReleaseInitial port for 1.21.5展开版本: 1.3.0支持游戏: 1.21.5类型:FabricRelease下载次数: 8301.21.4 - Runtime Hash Updater 1.3.0SHA1Runtime-1.21.4-1.3.0.jar下载1.3.0#ReleaseThis has been a bit of a re-write of some of the underlying systems. Functionality should all still be the same with the exception of one new command!```/setpackurl URL```This command allows you to dynamically update the URL of your resource pack while the server is still running. This is useful for people who use third party hosting for their packs which give randomly generated URL\'s or someone who wants version information in the ZIP file name.展开版本: 1.3.0支持游戏: 1.21.4类型:FabricRelease下载次数: 9431.21.4 - Runtime Hash Updater 1.2.0SHA1Runtime-1.21.4-1.2.0.jar下载1.2.0#Release展开版本: 1.2.0支持游戏: 1.21.4类型:FabricRelease下载次数: 4,8121.21.3 - Runtime Hash Updater 1.2.0SHA1Runtime-1.21.3-1.2.0.jar下载1.2.0#ReleaseInitial 1.21.3 Release展开版本: 1.2.0支持游戏: 1.21.3类型:FabricRelease下载次数: 551.21 - Runtime Hash Updater 1.2.0SHA1Runtime-1.21-1.2.0.jar下载1.2.0#Release# Version 1.2.0## Changes- Added a new command to auto-magically fetch the hash from the URL in your servers property file.展开版本: 1.2.0支持游戏: 1.21类型:FabricRelease下载次数: 8321.21 - Runtime Hash Updater 1.1.2SHA1Runtime-1.21-1.1.2.jar下载1.1.2#ReleaseWelcome to 1.21!展开版本: 1.1.2支持游戏: 1.21类型:FabricRelease下载次数: 831.20.6 - Runtime Hash Updater 1.1.1SHA1Runtime-1.20.6-1.1.1.jar下载1.1.1#ReleaseA quick update for 1.20.6!展开版本: 1.1.1支持游戏: 1.20.6类型:FabricRelease下载次数: 721.20.4 Runtime Hash Updater 1.1.1SHA1Runtime-1.20.4-1.1.1.jar下载1.1.1#ReleaseFixes an issue where the packet size was incorrect.Thanks to Maescool for submitting this issue and Henkelmax for the fix.展开版本: 1.1.1支持游戏: 1.20.4类型:FabricRelease下载次数: 1641.20.3 - Runtime Hash Updater 1.1.0SHA1Runtime-1.20.3-1.1.0.jar下载1.1.0#Release展开版本: 1.1.0支持游戏: 1.20.3类型:FabricRelease下载次数: 571.20.2 - Runtime Hash Updater 1.1.0SHA1Runtime-1.20.2-1.1.0.jar下载1.1.0#Release展开版本: 1.1.0支持游戏: 1.20.2类型:FabricRelease下载次数: 661.20.1 - Runtime Hash Updater 1.1.0SHA1Runtime-1.20.1-1.1.0.jar下载1.1.0#Release展开版本: 1.1.0支持游戏: 1.20.1类型:FabricRelease下载次数: 539Runtime Hash Updater 1.1.0SHA1Runtime-1.19.3-1.1.0.jar下载1.1.0#Release# CommandAdded a command that allows any op on the server to update the hash file.`/updatehash HASH` by replacing `HASH` with your hash for your resource pack you can now update the hash while in game.You will still need to re-log into the server to get the new resource pack.展开版本: 1.1.0支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3类型:FabricRelease下载次数: 135Runtime Hash Updater 1.0.0SHA1Runtime-1.19.3-1.0.0.jar下载1.0.0#Release# Initial Version 1.0.0Config file will be generated on player join or after running /checkhash command.展开版本: 1.0.0支持游戏: 1.19, 1.19.1, 1.19.2, 1.19.3类型:FabricRelease下载次数: 89全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
Runtime Hash Updater
楼主 2025-8-10 19:10:05 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2025-9-26 02:50 , Processed in 0.196340 second(s), 53 queries .

快速回复 返回顶部 返回列表