resource-pack-loader
A simple plugin to manage resource pack loading for minecraft servers.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
resource-pack-loader
Resource Pack Loader
A simple solution to handle resource packs on paper and velocity.
Source Code
Supported platforms & versions
- Paper Versions: 1.21.10 - 1.21.11 - Velocity Versions: 3.4.0 - 3.5.0
Although resource-pack-loader may work on other platforms or versions, I do not guarantee for their stability or functionality.
Setup & Configuration
After initially loading the plugin on your server, you'll need to modify the configuration file in order to enable pack-loading.
Example configuration (with default values): ```json { "useCommand": true, "required": false, "replace": false, "prompt": null, // "<yellow><b>This server recommends a resource pack." "packs": [ { "_id": "00000000-0000-0000-0000-000000000000", "url": "https://example.com/resource.zip" } ] } ```
``packs`` The list of resource packs to load.
- ``_id`` The unique identifier for the resource pack. - ``url`` The URL that points to the resource pack.
``prompt`` The prompt to display when the player is sent a resource pack. (MiniMessage Formatting)
``replace`` Set whether to replace the player's server resource packs with the provided ones.
``required`` Sets the resource-packs to be required to play on the server. Disconnects the player if they reject the packs. (see Resource Pack Requirements)
``useCommand`` Enables the ``/resource-pack-loader`` command. (see Commands)
After initially setting up the configuration, you won't need to modify it to update your pack(s), just the resource the url(s) point to.
Commands
/resource-pack-loader
Requires config entry ``useCommand`` to be ``true``.
Requires player permission ``rpl.admin``.
``/resource-pack-loader reload <player>`` Reloads all resource packs for the provided player.
``/resource-pack-loader reload`` Reloads all resource packs for all online players.
Aliases: - ``/rpl`` - ``/resource-pack-loader-paper``, ``/rpl-paper`` (Conditional) Provided if the plugin is installed on Paper. - ``/resource-pack-loader-velocity``, ``/rpl-velocity`` (Conditional) Provided if the plugin is installed on Velocity.