作者:rebot | 分类:模组
Minecraft 版本: 26.1
平台: fabric
标签: management technology utility
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.
Install on a Fabric server only.
config/ResourcePackHash.txt file or run the /updatehash command with the new hash.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.
/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.
请登录后举报
暂无评论,抢个沙发吧~