How to set a server resource pack
Your server can offer players its own resource pack when they join. The game downloads it from a link, so the file has to be available on the internet, not in the server files.
1. Upload the pack to the internet
A resource pack is a .zip file. Upload it somewhere that gives you a direct download link, for example GitHub (Releases) or mc-packs.net. The link has to start downloading the file straight away, not open a web page.
2. Set it in server.properties
Open server.properties and set:
resource-pack=https://your-link/pack.zip
resource-pack-sha1=
require-resource-pack=false
resource-pack-prompt=Server resource pack
resource-pack-sha1- the file's checksum. It is not required, but without it players may not get the new version after you change the pack. mc-packs.net gives it to you.require-resource-pack=truekicks players who decline the download.
Restart the server.
Frequently asked questions
Players do not get the pack.
The link does not point straight to the file. Paste it into your browser: the download should start immediately.
I updated the pack but players see the old one.
Change resource-pack-sha1 to the checksum of the new file, or rename the file and change the link.
Pepe