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.

1. Host the pack

Upload your pack .zip somewhere that gives a direct download link, one that starts downloading the file straight away when opened.

HostHow to get a direct link
DropboxShare the file, then change dl=0 at the end of the link to dl=1
GitHubUpload it to a release and copy the link to the file
Your own websiteUpload the .zip and link to it directly
Resource pack hosting sitesUse 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.

2. Get the SHA-1 hash (recommended)

The hash lets players' games know when the pack has changed, so they download the new version instead of using an old cached copy.

Copy the long string of letters and numbers it prints.

3. Set it in server.properties

  1. Stop the server.
  2. Edit these lines in server.properties:
SettingExampleWhat it does
resource-packhttps://www.dropbox.com/s/abc123/pack.zip?dl=1The direct download link
resource-pack-sha1a1b2c3...The hash from step 2
require-resource-packtruePlayers who decline get disconnected
resource-pack-prompt{"text":"Please accept our custom textures!"}Text shown when players are asked to accept
  1. Save and start the server. Players will be asked to download the pack when they join.

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.