Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:forceresourcepacks:faq [2024/03/16 16:59] – [Why does the client freeze while loading the resourcepack?] phoenix616plugin:forceresourcepacks:faq [2024/10/30 09:26] (current) – change mcrp.host to mc-packs.net phoenix616
Line 3: Line 3:
 ## Where can I host my resourcepacks? ## Where can I host my resourcepacks?
  
-You can host your resourcepacks on any web server that supports HTTPS. If you don't have a web server you can use a service like [mcrp.host](https://mcrp.host) to host your resourcepacks.+You can host your resourcepacks on any web server that supports HTTPS. If you don't have a web server you can use a service like [mc-packs.net](https://mc-packs.net) to host your resourcepacks.
  
 ## How do I set a resourcepack for a world? ## How do I set a resourcepack for a world?
Line 16: Line 16:
  
 You can set a resourcepack for the whole network by using the `/frp globalassignment pack <pack>` command. You can also set a pack for the whole server/proxy in the config file in the `global` section. You can set a resourcepack for the whole network by using the `/frp globalassignment pack <pack>` command. You can also set a pack for the whole server/proxy in the config file in the `global` section.
- 
 ## How do I set a resourcepack for a specific version? ## How do I set a resourcepack for a specific version?
  
 You can specify which version a pack is for by setting the `format` of the pack or the Minecraft `version` directly, either using the commands or the `packs` section in the config. You can specify which version a pack is for by setting the `format` of the pack or the Minecraft `version` directly, either using the commands or the `packs` section in the config.
  
-In order to send different packs to different versions you need to use the `packs` section in the config file (right now there is no command for that, sorry) and add different packs to the [`variants` list](https://gist.github.com/Phoenix616/3a03710b7277033c801ee1ff2186c4bb#file-bukkit-config-yml-L72-L81) of a pack, specifying the `version` or `format` for each variant. (They need to be in descending order of the version/format number)+In order to send different packs to different versions you need to use the `packs` section in the config file and add different packs to the [`variants` list](https://gist.github.com/Phoenix616/3a03710b7277033c801ee1ff2186c4bb#file-bukkit-config-yml-L72-L81) of a pack (right now there is no command for that, sorry), specifying the `version` or `format` for each variant. (They need to be in descending order of the version/format number)
  
 ## How do I disable kicking players for not having the resourcepack? ## How do I disable kicking players for not having the resourcepack?
Line 35: Line 34:
 You cannot send a resourcepack to a player without a prompt. This is a limitation of the Minecraft client and cannot be bypassed unless the player already accepted the server packs from your server in the past. You cannot send a resourcepack to a player without a prompt. This is a limitation of the Minecraft client and cannot be bypassed unless the player already accepted the server packs from your server in the past.
  
-## The prompt closes immediately after opening it, what can I do?+## How do I generate the sha1 hash for a resourcepack?
  
-This is a bug in the Minecraft client that can occur when you teleport the player or force them to open an inventory after sending the resource pack. You can work around this by sending the pack with a delay or teleporting/opening the inventory after the pack was loaded.+You can generate the sha1 hash for a resourcepack by using the `/frp pgeneratehashes` command. You can also manually specify the hash for a pack in the config file or via the commands if you want to manually generate the hash or already know them from another source
  
-## How do I generate the sha1 hash for a resourcepack?+If you want to manually generate it these are the commands you can run in your terminal/console:
  
-You can generate the sha1 hash for a resourcepack by using the `/frp pgeneratehashescommandYou can also manually specify the hash for pack in the config file or via the commands if you want to manually generate the hash or already know them from another source+- **Linux:** `sha1sum /path/to/file.zip` 
-## Why does the client freeze while loading the resourcepack?+- **Windows:** `FCIV -sha1 path\to\file.zip` 
 +- **Mac OS:** `shasum /path/to/file.zip` 
 + 
 +(Please note that the path has to be on the local system, not the download url!) 
 + 
 +## Pack loading issues: 
 +### The download screen gets stuck at 100% 
 + 
 +There were several Bugs in older versions of the Minecraft client which caused it to get stuck at 100% on the loading screen when certain errors in the client while downloading or applying the pack occured.  (You can check the client's log for these in `%APPDATA%/.minecraft/logs/latest.log`) I strongly recommend updating your client to more recent version. (Especially 1.20.3 made major improvements to server pack loading!) 
 + 
 +If you need old client versions to work then a very common issue is that older Minecraft versions used older Java versions which are not compatible with modern SSL certificates and encryption algorithms.  (e.g. used by the free and very common Let's Encrypt certificates) This will result in `javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetor similar errors in the client. 
 + 
 +There are only three real solutions to this issue: 
 + 
 +- Update to a client version that is at least 1.17 (as in that version Java was updated from 8 to 16) 
 +- Install a modern Java version like 17 and manually specify it to be used in the launcher 
 +- Change the SSL certificate to one with root certificate older than summer 2015 (these tend to cost money. If you can't do that or don't even run your own webserver then you can try [mcrp.host](https://mcrp.host), they should use a compatible SSL certificate)  
 + 
 +### The prompt closes immediately after it opens 
 + 
 +This is a bug in the Minecraft client that can occur when you teleport the player or force them to open an inventory after sending the resource pack. You can work around this by sending the pack with a delay or teleporting/opening the inventory after the pack was loaded
 +### The client freezes while loading the resourcepack
  
 When a server resource pack is send to a client it will shortly freeze after the download is complete. (Same as manually applying a local pack) This happens because the client has to reload all resources, check which resources overlap and do some other calculation and manipulation with them. (Like stitching all the textures together to a single image like they were in the first texture pack format) It's not a download issue as the client will locally cache the pack files and not re-download them if their hash didn't change. When a server resource pack is send to a client it will shortly freeze after the download is complete. (Same as manually applying a local pack) This happens because the client has to reload all resources, check which resources overlap and do some other calculation and manipulation with them. (Like stitching all the textures together to a single image like they were in the first texture pack format) It's not a download issue as the client will locally cache the pack files and not re-download them if their hash didn't change.