Back to mods
DynRes project artwork

Modrinth · Minecraft mod

DynRes

Host a resourcepack directly on your server

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which DynRes release should I use?

Updated 2 months ago
Latest stable file 26.3.0
Game version 26.3
Loader Fabric

DynRes 26.3.0 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is DynRes required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does DynRes 26.3.0 need?

26.3.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install LibJF first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

2 listed on this file 1 pulled in by one of those mods
Mod Menu Optional for DynRes 26.3.0
optional
No matching file
LibJF Needed by DynRes 26.3.0
required
Matching file found Matched file: 26.3.1
Fabric API Needed by LibJF
pulled in
Matching file found Matched file: 0.166.2+26.3

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add DynRes without breaking your instance.

Built for DynRes 26.3.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 26.3.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install LibJF first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 26.3.0. It opens that exact file at the source.

About this project

What does DynRes add?

DynRes uses an integrated web server to serve a resource pack directly from the server directory.
It also modifies the server to specify that pack as the default (overwrites resource-pack and resource-pack-sha1 in server.properties).
You can configure the port for the web server, the file to host and whether to provide a hash in the config.

To use this mod on your server you need to place your resource pack in the configured place (default: server/resources.zip)
and change baseLink in the config to your public address (what players will enter)

This mod is only required on your server. If added to a client the only thing it will do is log some information about server connections

Configuration A user recently contacted me about how they can configure the mod to work with their server. Below is my (slightly modified) response to them, added here in the hope that it may help others as well.


The resource pack hosting functionality of DynRes is actually provided by a common library, namely libjf-web-v1.
As such, the configuration for the actual hosting needs to be done there.

It should also be noted that, if you want to host the pack using the same port that Minecraft uses, libjf-web-v1 delegates to libjf-mainhttp-v0 for the receiving logic.
The unfortunate consequence of this is that the config is spread out across two files and, since libjf-web is more general purpose, its configuration provides additional features not relevant to DynRes.
I will try to explain a setup that works here, but please do ask if you have any further questions or requests.

First, resourcesFile in DynRes should be the relative path of the resource pack that should be served.

The option hashResources provides clients with a checksum they can use to cache packs, so it should improve performance.
In older versions, this prevented the pack from being changed while the server is running.
That is now fixed.

Assuming you want to host the pack on the same port as the game (this is the easiest to set up so it is what I would recommend. Note that it shouldn't impact performance as the HTTP handler is removed as soon as it detects a non-HTTP connection),
set the port and portOverride options in the libjf-web config to -1.

Then, set the serverIp option to the address (not necessarily an IP) users will use to connect to your Minecraft server.
Note that you shouldn't need to append the port to this address, as the mod will do so automatically.

If the port that is appended is wrong (this shouldn't ever happen. Note that 25565 is equivalent to entering no port in Minecraft), you can adjust it using portOverride.
When the server is starting up, the log should include a message that looks like this: "Initialized DynRes at http://127.0.0.1:25565/resources.zip" where instead of 127.0.0.1 you have your address.
Try navigating to this in your browser and watch the game log as you do so.
If the file is downloaded, everything should be set up correctly.

Project description from Modrinth.

Pick your setup

DynRes by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

35 available setups

Showing the newest 12 of 35 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

DynRes versions and loaders

32 of 32 releases match

Looking for an older file? The official Modrinth project page is in Resources.