MinecraftPublished on February 12, 20263 min read

How to install an automatic resource pack on your Minecraft server

A Minecraft server resource pack applied by the server gives all your players the same look. They have no link to follow and no file to place, the pack is offered when they join. This guide shows how to install an automatic resource pack from OuiPanel, the game panel. You host the pack, get its URL and SHA-1 hash, then add them to server.properties, with require-resource-pack if you want to force it.


Prepare your resource pack

Before touching the server, you need a ready-to-use resource pack. Whether you made it or downloaded it, check that it is compatible with your server version. A pack made for another version can cause display bugs or loading errors.

The pack must be a .zip file.

This guide is about Minecraft Java. On a Bedrock server, packs go in the resource_packs folder and are declared in the world's world_resource_packs.json file.


Host the pack and retrieve the information

For the server to hand out the pack, the file must be online behind a direct URL. The easiest option is a service like CraftPacks, which hosts the file and computes the SHA-1 hash you will need.

  1. Open craftpacks.fr.

  2. Drag your .zip file onto the page, confirm the upload and wait for it to finish.

  3. Copy the two pieces of information shown, using the buttons provided.

InformationRole
Resource pack URLthe direct link to your hosted file
SHA-1 hasha fingerprint that lets the server check the player got the right file

Keep them at hand, you will paste them into the server configuration. CraftPacks also offers a ready-to-copy configuration block.

CraftPacks page for a pack with the download URL, the SHA1 hash and the server.properties configuration block

Bookmark CraftPacks. If you update your pack, upload it again and get the new URL and hash right away.


Configure the resource pack in server.properties

You will add the pack's URL and hash to the server's server.properties file.

Open the file

  1. Log in to OuiPanel and select your Minecraft server.

  2. In Console, stop the server.

  3. In the side menu, open File Manager.

  4. In the root folder, click server.properties. The "Editing server.properties" window opens.

Editing server.properties window with the list of settings and the Save button

You can also use Configuration › Properties Editor. The resource pack lines are in the Security category, and each field saves on its own. How to configure server.properties on your Minecraft server covers this editor.

Edit the resource pack lines

In the file, find the lines below. They are empty by default.

resource-pack=
resource-pack-sha1=

Replace them with the information copied from CraftPacks. You get something like this.

resource-pack=https://craftpacks.fr/download/xxxxxxxx
resource-pack-sha1=abc123def456...

The URL must be complete, with https://. The hash must match the one from CraftPacks exactly. On recent versions, the file also has resource-pack-id (pack identifier) and resource-pack-prompt (message shown to the player), which the CraftPacks block fills in for you.

require-resource-pack, resource-pack and resource-pack-sha1 lines in the Editing server.properties window

Make the pack mandatory (optional)

By default, a player can decline the pack and play with vanilla textures. To force it, find this line.

require-resource-pack=false

Change it to this value.

require-resource-pack=true

A player who declines the pack is then disconnected from the server.

Save and restart

  1. Click Save in the editor window.

  2. In Console, click Start to apply the changes.

Live statistics in the console with the Start, Stop, Restart and Force stop buttons

Do not touch the other lines in server.properties unless you are sure. A wrong value can stop the server from starting.


Check that everything works

After the restart, launch Minecraft and join your server. A message asks whether you accept to download the server's resource pack.

Accept. Minecraft downloads the pack, installs it and turns it on. If everything is set up correctly, you see the new textures, sounds or visual changes right away. All your players get the same look as soon as they join, with nothing to do on their side.

A player who declines the download plays with Minecraft's default textures, unless you set require-resource-pack=true.


Need help?

Open a ticket from Tickets › Open a Ticket, or from the Contact support tile at the bottom of your server's page in the client area. You can also ask your question on the OuiHeberg Discord.

Was this article helpful?

1,173 views
Share this article
Need a Minecraft server?

Discover our Minecraft hosting plans starting from $2.28/month with automatic mod installation.

Minecraft server hosting →
Need a Minecraft server?

Discover our Minecraft hosting plans starting from $2.28/month with automatic mod installation.

Minecraft server hosting →

Related Articles