Forcing a resource pack on Minecraft Java

Make your Minecraft Java server apply a resource pack automatically by pointing server.properties at a direct download URL.

A resource pack changes how the game looks and sounds, and your server can push one to players automatically when they join. This guide shows how to set that up in server.properties, including the one detail that trips almost everyone up: the URL has to be a direct download link.

The key point: use a direct download URL

The resource-pack= setting needs a link that downloads the .zip file itself. It must not be a webpage with a download button on it. If you paste a page URL, the game cannot grab the file and the pack silently fails to apply.

A direct link usually ends in .zip, or it starts the download the instant you open it in a browser. A page link takes you to a site with a Download button. If clicking that link opens a page instead of saving a file, it is the wrong kind of link.

Set it up in server.properties

  • In the panel, open the Files tab and open server.properties.
  • Find the resource-pack= line and set it to your direct download URL, for example resource-pack=https://example.com/mypack.zip.
  • To force it on everyone, set require-resource-pack=true. This kicks any player who declines the pack, so they cannot play without it. Leave it false if you would rather keep the pack optional.
  • Save the file.
  • Open the Console tab and restart the server so the change takes effect.

Optional extras

Two more settings are worth knowing about.

resource-pack-sha1= takes the SHA-1 hash of your .zip file. That hash is a short fingerprint of the file that lets players cache the pack, so they do not redownload it every single time they join. It also guards against a broken or swapped file. If you host the pack somewhere you control, adding this is a nice touch.

resource-pack-prompt= sets the message players see in the accept or decline popup, so you can explain what the pack is or why it is required.

Add either line to server.properties the same way, then restart.

Troubleshooting

Nothing happens when players join. The most common cause by far is a page URL instead of a direct file URL. Open your link in a browser: if it downloads a .zip straight away, it is correct. If it opens a webpage, replace it with the true direct link.

Players see a "failed to apply resource pack" message. The file may be too large, the host may be slow or blocking the download, or a resource-pack-sha1= value no longer matches the file. If you changed the pack, update or remove the SHA-1 line, then restart.

The pack downloads but looks wrong. Make sure the pack is built for your Minecraft version. Pack formats change between versions, and an old pack can render incorrectly.

Players get kicked immediately. That is require-resource-pack=true doing its job when the pack fails to load. Fix the download link first, then test again.

Still stuck? Jump into our Discord at discord.gg/GuavaHost and the team will help you out.