Перейти к содержимому
Mineforgian

Runtime Hash Updater

Update your resource pack hash for server resource packs while the server is running.

Загрузки
35K
Подписчики
39
Обновлён
19 июня 2026 г.
Лицензия
CC0-1.0

Опубликован 13 января 2023 г.

SHA1 Runtime

This is a simple Fabric mod that enables you to update the hash for your server resource pack while the server is still running.

If you are anything like me, I like to constantly add new custom models to my resource pack just to add a little extra customization to Vanilla Minecraft. I do not like however having to ask people to stop what they are doing so I can restart the server to get it to read the new SHA1 Hash.

Since a standard server only reads the server.properties file on startup you must restart every time you make a change to your pack and add a new hash. That is why this was created, so I can tweak and add all I want and people can freely join in and out getting the new resource pack automagically.

Setup

Install on a Fabric server only.

  1. Once installed make sure your server.properties has a SHA1 Hash assigned and a URL for the resource pack. The hash does not have to be accurate as the config file that is generated will be used to serve your updated hashes.
  2. Run the server and join.
  3. Whenever you update your resource pack put the new hash in the config/ResourcePackHash.txt file or run the /updatehash command with the new hash.
  4. Once the new hash is added save the file and re-log in game. It should prompt you to install the new resource pack.

Usage:

Once installed you can edit the config/ResourcePackHash.txt file or run the /updatehash command with your new hash to update your hash. You can use /checkhash to get some info on which hash is being supplied.

You can also use /fetchhash to automagically calculate and set the hash. For a few seconds while the hash is calculated, may cause performance issues if your pack is large.

If you use a third party resource pack host, you can use /setpackurl to set the url of the pack without the need to restart the server.

Commands

/checkhash : Will print out info on the current supplied hash.

/updatehash HASH_EXAMPLE : Will update the config to contain the supplied hash.

/reload_pack : Forces all connected clients to load the resource pack

/fetchhash : Will hash the resourcepack currently at the URL from the server.properties (Or in override file) and save the hash to the config file.

/fetchhash reload : An optional parameter which will do the above, but force all clients connected to load the new pack

/setpackurl URL : Will update the pack override config to contain the supplied url and override the URL found in the server.properties. This is useful for people who host their packs on third party sites, or want version info in the zip name.

Ченджлог

1.4.3Релиз26.2 · 19 июня 2026 г.

Quick port to 26.2

1.4.2Релиз26.1 · 31 марта 2026 г.

Direct port to 26.1 thanks to Maescool!

1.4.1Релиз1.21.11 · 12 декабря 2025 г.

Upgrade to 1.21.11

1.4.1Релиз1.21.9, 1.21.10 · 21 октября 2025 г.

Small patch, silly me accidentally removed vanilla /reload New command is /reload_pack

1.4.0Релиз1.21.9 · 2 октября 2025 г.
  • Added reload command
  • Added reload param to fetchhash
  • Updated for 1.21.9
1.3.0Релиз1.21.5 · 30 марта 2025 г.

Initial port for 1.21.5

1.3.0Релиз1.21.4 · 18 января 2025 г.

This 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.2.0Релиз1.21.3 · 26 октября 2024 г.

Initial 1.21.3 Release

Комментарии

Загружаем…