PerVersionResources icon

PerVersionResources -----

Apply a resource pack based on the client version of a player



This plugin allows you to configure different resource packs for each version of Minecraft. As the structure or format of resource packs may change between versions, this plugin can be used to ensure a player is able to use your custom resource packs independent of their Minecraft Version.

This plugin requires ViaVersion.

Configuration
The plugin is configured with the config.yml file in the PerVersionResources folder.
You should remove any resource pack url from the server.properties file.


Example Configuration:

Code (YAML):
# See http://wiki.vg/Protocol_version_numbers for version number

resources
:
  # All versions including 1.8 will get this resourcepack
  v1_8
: "https://www.example.com/res1.8.zip"
  # All versions above v1_8 including protocol version 107 (1.9, see above) will get this resource pack
  107
: "https://www.example.com/res1.9.zip"
  # All versions above 1.9 including 1_12_2 will get this resource pack
  v1_12_2
: "https://www.example.com/res1.12.zip"

You can reference a Minecraft version by it's version name (v1_xx_x) or by using the protocol version. For a list of all available protocol version numbers see https://wiki.vg/Protocol_version_numbers#Versions_after_the_Netty_rewrite.

If a player joins with a Minecraft Version that is older than all configured versions, the player will recieve the resource pack for the oldest configured version. (Using the configuration above, a player joining with 1.7 would recieve the 1.8 resource pack).
If a player joins with a Minecraft Version that is newer than all configured versions, the player will recieve the resource pack for the newest configured version. If you don't want this behaivor you can configure the version to use an empty url as the resource pack. In that case the player won't recieve any resource packs. (Example: v1_15: "")

Convert old resource packs

If you created a version for an older version of Minecraft and use it for newer versions as well, you might want to use a resource pack converter. You can find converters on popular Minecraft Community pages. A converter that works quite is the Resource Pack Converter made by the Hypixel Team. The converter is NOT part of this plugin.

Source Code
https://gitlab.com/j3h.contact/per-version-resources
Resource Information
Author:
----------
Total Downloads: 941
First Release: Jan 16, 2020
Last Update: Sep 17, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings