# Install Player Workshop 2.0.1 ## 1. Before you start - Back up the world you plan to use. Test on a duplicate world before running setup in your campaign. - Use Foundry **14.371** with the official **D&D5e 6.1.2** system for the first test. - Use the Gitea route if Foundry can download from your LAN repository. If the repo requires sign-in or the Foundry host cannot reach it, use the manual route instead. ## 2. Install or update ### Gitea 1. Open or clone `CheddahBoxMB/player-workshop` on your Gitea server. Extract the ZIP into the root of the repository on `main`, so `module.json`, `README.md`, `INSTALL.md`, `scripts/`, and `tests/` are side by side. Commit those files and push `main`. 2. In Gitea, open **Releases → New Release**. Create tag `v2.0.1` at the commit you pushed. Attach the ZIP with the filename `player-workshop.zip` and publish the release. 3. From the Foundry host, confirm both URLs below are reachable without signing in. These addresses come from the supplied manifest. If your Gitea address or repo path differs, edit `url`, `manifest`, and `download` in `module.json` before committing and build the release ZIP from that commit as described in the README. ```sh curl -fsSL 'http://192.168.100.15:3000/CheddahBoxMB/player-workshop/raw/branch/main/module.json' curl -fsSL -o /tmp/player-workshop.zip 'http://192.168.100.15:3000/CheddahBoxMB/player-workshop/releases/download/v2.0.1/player-workshop.zip' unzip -t /tmp/player-workshop.zip ``` 4. In Foundry **Setup → Add-on Modules → Install Module**, paste the raw `module.json` URL from the first command into **Manifest URL** and install. If you already have an earlier release installed from that manifest, use its update button. ### Manual install 1. Stop Foundry. Find its configured **User Data** directory, then open `Data/modules/` under it. 2. If `player-workshop/` already exists, move the old folder somewhere outside `Data/modules/` as a backup. 3. Create `player-workshop/` and extract this ZIP into that folder. The final path must be `Data/modules/player-workshop/module.json`. 4. Start Foundry and confirm **Player Workshop 2.0.1** appears under **Add-on Modules**. ## 3. Set up a world 1. Launch the duplicate world as **Gamemaster**. Open **Game Settings → Manage Modules**, enable **Player Workshop**, and save. Run the first test with Player Workshop as the only add-on enabled in the test world. 2. Go to **Game Settings → Configure Settings → Player Workshop → Open setup**. 3. Select **Provision this world (no actor moves)** for a new or test world. Select **Organize named Phandelver characters** only for the original campaign when you intend to move the eight named actors and replace their ownership. On the duplicate campaign, you can preview that action and cancel to inspect its planned changes. 4. Review the preview and confirm. After the completion dialog, refresh GM and player clients. Players can use **Player Vault** from the Actors sidebar or the module's settings menu. ## 4. Test on a duplicate world - [ ] As GM, run generic provisioning twice. Confirm a single Testing Grounds scene, four homebrew compendia, and no duplicate personal folders. If testing named setup, use a duplicate of the actual campaign. In the Actors sidebar, open **Configure Ownership** for Akupara Kurma and verify that Austin and Jason are Owners and that other player ownership was removed. Confirm the actor is in **Active Campaign → Austin** and compare the eight actor IDs and ownership entries before and after. - [ ] As a regular Player and as a Trusted Player, create a PC and an item using the normal sidebars. Confirm auto-filing and explicit Owner access. Try opening and editing the other player's test document and confirm its privacy. Open the PC's normal D&D5e sheet and try advancement there. - [ ] Upload a portrait or token image and assign it. Enter Testing Grounds and place an owned token. Publish an item to a community pack. As GM, approve a snapshot and confirm the approved compendium is locked after approval. - [ ] Export a character ZIP containing an embedded spell, effects, and artwork. As another player in a provisioned duplicate world, import the ZIP and inspect ownership, level, HP, inventory, spell/effect links, and images. If you use Tokenizer or another character builder, enable it after the standalone test and try its normal workflow. If setup stops midway, the browser console records completed steps. Restore the world backup to roll back folders, documents, permissions, and artwork together. Replacing the module files alone only restores the previous module code.