Your server's own pack
Put the two zips of your last pack build on your own server with one command, so every player gets the pack of their edition when they join.
One command
After strawberry-kit pack build (see Resource packs), send the two zips to your server:
strawberry-kit pack upload pack/look.json --server <server id>Use the same description and, if you built with --out <folder>, the same --out. The server id is on your server's page on Play Strawberry. The first time, the tool asks you to sign in in your browser.
The tool sends the Java zip first and then the Bedrock zip. A zip your server already has is not sent again.
What players get
From your server's next start, players get its pack when they join. Bedrock players get the Bedrock zip. Java players get one pack from your server: the files of your Java zip joined with what your scripts add (items, models, emoji), with the platform's own pack beside it. Both editions come from the same build, so both see the same look.
Only the assets/ files of your Java zip are joined. Shaders join only after the server's check and the owner's approval (see Resource packs). Overlay folders are left out, and so is a file in a namespace your scripts or the server itself use; the server console names what was left out. If the joined pack would be larger than your plan allows, or your zip cannot be downloaded or read, your Java zip is sent as a pack of its own.
Play Strawberry hosts the files for you. You do not need your own web address, and your script does not need to send anything.
A new version
Change the description, raise generation, build again and upload again. Restart your server, and players get the new pack when they join. Bedrock players keep a pack by its version, so a Bedrock zip with new content and the old generation is refused.
What is checked
Play Strawberry checks each zip again before any player gets it, and refuses it with the reason when something is wrong:
- The zip must be the one your last build made. If you changed it by hand or built again without uploading, build again and upload.
- A Java pack has its
pack.mcmeta. A Bedrock pack has itsmanifest.json, holds only resources, and has no scripts. - A pack can be as large as your plan allows. A Bedrock pack is at most 64 MiB.
When a pack is refused, nothing changes on your server: it keeps offering the pack it had.
Servers of a game
A game with several servers (an entry server and its match servers) has one pack per server: upload to each server the pack it needs. A match server also offers the pack of its game's entry server, with its own pack on top, so a pack you upload to the entry server reaches every server of the game. The entry server's pack is offered unchanged, so a player who comes from the entry server does not download it again.