Loading...
Beta Modpages Unclaimed

Runtime Hash Updater

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

0 Likes
170 Downloads
Created by robotmonkey1000

Description

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.

/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.

/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.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Clumps

Clumps XP orbs together to reduce lag

Morpheus

Sleep vote system

FTB Utilities (Forge)

FTB Utilities is a mod by FTB. It aims to provide several useful utilities within the FTB Platform ranging from friends list, server configuration utilities, world borders, guide system and many other features...

spark

spark is a performance profiler for Minecraft clients, servers and proxies.

Lootr (Forge & NeoForge)

A mod that makes it so nobody misses out on Loot! All loot chests are instanced per player and visually unique.