The server can send a resource pack to players when they join. The pack has to be hosted online as a direct download link. The server only sends the link, not the file.
Upload your pack .zip somewhere that gives a direct download link, one that starts downloading the file straight away when opened.
| Host | How to get a direct link |
|---|---|
| Dropbox | Share the file, then change dl=0 at the end of the link to dl=1 |
| GitHub | Upload it to a release and copy the link to the file |
| Your own website | Upload the .zip and link to it directly |
| Resource pack hosting sites | Use the direct link they provide |
Google Drive and OneDrive share links usually don't work, because they open a web page instead of the file.
Keep the pack under 250 MB, and make sure its pack.mcmeta matches your Minecraft version.
The hash lets players' games know when the pack has changed, so they download the new version instead of using an old cached copy.
certutil -hashfile pack.zip SHA1shasum -a 1 pack.zipCopy the long string of letters and numbers it prints.
server.properties:| Setting | Example | What it does |
|---|---|---|
resource-pack | https://www.dropbox.com/s/abc123/pack.zip?dl=1 | The direct download link |
resource-pack-sha1 | a1b2c3... | The hash from step 2 |
require-resource-pack | true | Players who decline get disconnected |
resource-pack-prompt | {"text":"Please accept our custom textures!"} | Text shown when players are asked to accept |
Updating the pack later. Upload the new version, then update resource-pack-sha1 with the new hash. If the link changes, update resource-pack too. Restart the server.
Players not getting the pack? Paste the link into a private browser window. If it doesn't start downloading the .zip straight away, it isn't a direct link. Also check that players haven't set Server Resource Packs to "Disabled" in the server's settings in their Multiplayer list.