Differences

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

Link to this comparison view

Next revision
Previous revision
plugin:resourcepacksplugins:faq [2026/01/05 13:30] – created phoenix616plugin:resourcepacksplugins:faq [2026/01/05 14:02] (current) – [How can I send multiple packs to a player?] Add note about using the example phoenix616
Line 34: Line 34:
  
 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) 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 can I send multiple packs to a player? ## How can I send multiple packs to a player?
  
 You can send multiple packs to a player by adding them to the list of `packs` for an assignment. **Please note that only client versions above 1.20.3 support multiple packs!** You can send multiple packs to a player by adding them to the list of `packs` for an assignment. **Please note that only client versions above 1.20.3 support multiple packs!**
 +
 +E.g. if you want to send multiple packs when joining then the `packs` and `global` section in the config should look something like this:
 +
 +```yaml
 +packs:
 +  pack1: 
 +    url: http://example.com/pack1.zip
 +    hash: abcdef012345678abcdef012345678abcdef0123
 +    uuid: 01234567-89ab-cdef-0123-456789abcdef
 +  pack2:
 +    url: http://example.com/pack2.zip
 +    hash: abcdef012345678abcdef012345678abcdef0123
 +    uuid: 456789ab-cdef-89ab-cdef-012301234567
 +global:
 +  packs:
 +  - pack1
 +  - pack2
 +```
 +
 +(This only shows part of the config, you should only set these settings in the `packs` section and either the `global` or the per-world/server sections! This should not be copied over all the other settings.)
  
 ## How can I send a resourcepack to a player without a prompt? ## How can I send a resourcepack to a player without a prompt?