Unpack the add-on
An .mcaddon or .mcpack file is a zip. Rename it to .zip and extract it. Inside you will find one or more pack folders, each with a manifest.json. A behaviour pack manifest has a data module; a resource pack has a resources module.
Copy the packs
Upload behaviour packs to behavior_packs and resource packs to resource_packs, either in the server root or inside the world folder. Placing them in the world folder keeps them together with the world when you move it.
Enable them for the world
In the world folder, create or edit world_behavior_packs.json and world_resource_packs.json. Each is a list of entries with the pack_id, which is the header uuid from the pack's manifest.json, and its version as an array of three numbers. Restart the server.
- [{ "pack_id": "uuid-from-manifest", "version": [1, 0, 0] }]
- Use the header uuid, not the module uuid
- Keep the JSON valid; one missing comma stops all packs loading
Experimental features and resource packs
Some add-ons need experimental toggles that are stored in the world. The simplest way to set them is to enable them on the world in singleplayer, then upload that world. To make players download the resource pack, set texturepack-required=true in server.properties.