From 59b9f986fae07cabc8e9e56aa4fc68660e2395c3 Mon Sep 17 00:00:00 2001 From: Dawnsorrow Date: Thu, 26 Feb 2026 22:44:16 -0600 Subject: [PATCH] Move master list to DalamudPlugins repo; remove plugin-repo Made-with: Cursor --- .gitignore | 5 ++- README.md | 2 +- plugin-repo/README.md | 80 ----------------------------------- plugin-repo/pluginmaster.json | 42 ------------------ 4 files changed, 4 insertions(+), 125 deletions(-) delete mode 100644 plugin-repo/README.md delete mode 100644 plugin-repo/pluginmaster.json diff --git a/.gitignore b/.gitignore index 4b4ecb1..32d0123 100644 --- a/.gitignore +++ b/.gitignore @@ -7,12 +7,13 @@ packages/ *.dll *.pdb *.zip -!plugin-repo/ + +# Master list lives in separate DalamudPlugins repo +DalamudPlugins/ # IDE .idea/ .vscode/ *.csproj.user -# Keep plugin-repo (manifest) # packages.lock.json diff --git a/README.md b/README.md index 9242c3f..e1896af 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A Dalamud plugin for FFXIV that draws a **colored ground ring** under your current target. -**Publishing to your own repo:** See the `plugin-repo/` folder for a single-repo setup (pluginmaster + README) you can push to Gitea so others can add one URL and get all your plugins. The color reflects your positional: +**Plugin list:** The master list for this and other plugins (e.g. HSCompare) lives in the **DalamudPlugins** repo on Gitea. Users add: `http://brassnet.ddns.net:33983/Dawnsorrow/DalamudPlugins/raw/main/pluginmaster.json` as a custom repo. The color reflects your positional: - **Green** = Front - **Amber** = Flank diff --git a/plugin-repo/README.md b/plugin-repo/README.md deleted file mode 100644 index 70acb1c..0000000 --- a/plugin-repo/README.md +++ /dev/null @@ -1,80 +0,0 @@ -# My Dalamud Plugin Repository - -This repo is a **single custom repository** for Dalamud. Users add one URL and see all your plugins in the installer. - -## What users add in Dalamud - -1. Open **xlsettings** (or Dalamud Settings). -2. Go to **Experimental** → **Custom Plugin Repositories**. -3. Add this URL (use the **raw** URL to `pluginmaster.json` on your Gitea): - - ``` - https://brassnet.ddns.net:33983/Dawnsorrow/DalamudPlugins/raw/main/pluginmaster.json - ``` - -4. Save. In **xlplugins**, your repo will appear and list all plugins in `pluginmaster.json`. - ---- - -## Repo layout - -- **pluginmaster.json** – List of all your plugins. This file’s raw URL is the “repo link” users add. -- **releases/** – Optional: put `latest.zip` builds here and use raw URLs in pluginmaster (see below). -- Or use **Gitea Releases** on this repo for each plugin (recommended). - ---- - -## Adding a new plugin to the repo - -1. **Edit `pluginmaster.json`** and add a new object to the array (copy an existing entry and change fields): - - - `Author`, `Name`, `Description`, `Punchline`, `InternalName` - - `AssemblyVersion` (e.g. `"0.0.0.1"`) - - `RepoUrl` – link to the plugin’s source (can be another Gitea repo or same repo folder) - - `ApplicableVersion`: `"any"` - - `DalamudApiLevel`: e.g. `14` - - `LastUpdate`: Unix timestamp (seconds), e.g. `1730000000` - - `DownloadLinkInstall` and `DownloadLinkUpdate`: URL to the plugin’s **zip** (see below) - -2. **Host the plugin zip** in one of these ways: - - **Option A – Releases on this repo (recommended)** - - Create a release (e.g. tag `HSPosition-0.0.0.1` or `v0.0.0.1`). - - Upload the plugin zip as `latest.zip`. - - Use the release download URL in pluginmaster, e.g. - `https://brassnet.ddns.net:33983/Dawnsorrow/DalamudPlugins/releases/download/HSPosition-0.0.0.1/latest.zip` - - **Option B – Raw file in repo** - - Put `HSPosition-0.0.0.1.zip` in a `releases/` folder and commit. - - Use the raw file URL: - `https://brassnet.ddns.net:33983/Dawnsorrow/DalamudPlugins/raw/main/releases/HSPosition-0.0.0.1.zip` - - **Option C – Separate repo per plugin** - - Build and release each plugin in its own Gitea repo. - - In pluginmaster, set `DownloadLinkInstall` / `DownloadLinkUpdate` to that repo’s release zip URL. - -3. This repo is configured for **brassnet.ddns.net:33983** and user **Dawnsorrow**. For new plugins, set download URLs to `https://brassnet.ddns.net:33983/Dawnsorrow/DalamudPlugins/...` (releases or raw). - ---- - -## Building and packaging HSPosition (or any plugin) - -1. From the plugin project directory, build in **Release** so the packager produces a zip: - ```bash - dotnet build HSPosition.sln -c Release - ``` -2. The zip is at: - `HSPosition/bin/x64/Release/HSPosition/latest.zip` -3. Upload that zip to a Gitea Release (e.g. create release tag `HSPosition-0.0.0.1`, attach `latest.zip`), or put it in `releases/` and use the raw URL. - ---- - -## Updating a plugin - -1. Bump the plugin’s version (e.g. in `.csproj` and `plugin.json`). -2. Build in Release and upload the new zip (new release or replace file in `releases/`). -3. In `pluginmaster.json` update: - - `AssemblyVersion` (and tag/release name if you use it in the URL). - - `LastUpdate` (current Unix timestamp: `date +%s`). - - `DownloadLinkInstall` and `DownloadLinkUpdate` if the zip URL changed (e.g. new release tag). -4. Commit and push. Users will get the update when they check for updates in the plugin installer. diff --git a/plugin-repo/pluginmaster.json b/plugin-repo/pluginmaster.json deleted file mode 100644 index 4d2a654..0000000 --- a/plugin-repo/pluginmaster.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "Author": "Dawnsorrow", - "Name": "HSPosition", - "Punchline": "Ground ring color shows front, flank, or rear for positionals.", - "Description": "Shows a colored ground ring under your target based on your positional (front, flank, or rear) so you can easily tell if you need to move for abilities.", - "Changelog": "Initial release.", - "IsHide": false, - "InternalName": "HSPosition", - "AssemblyVersion": "0.0.0.1", - "TestingAssemblyVersion": null, - "IsTestingExclusive": false, - "RepoUrl": "https://brassnet.ddns.net:33983/Dawnsorrow/HSPosition", - "ApplicableVersion": "any", - "DalamudApiLevel": 14, - "DownloadCount": 0, - "LastUpdate": 1730000000, - "DownloadLinkInstall": "https://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/releases/download/HSPosition-0.0.0.1/latest.zip", - "DownloadLinkUpdate": "https://brassnet.ddns.net:33983/Dawnsorrow/HSPosition/releases/download/HSPosition-0.0.0.1/latest.zip", - "DownloadLinkTesting": null - }, - { - "Author": "Dawnsorrow", - "Name": "HSCompare", - "Punchline": "Compare items or stats in FFXIV.", - "Description": "HSCompare plugin for FFXIV. Update description from your plugin manifest or pluginmaster.", - "Changelog": "Initial release.", - "IsHide": false, - "InternalName": "HSCompare", - "AssemblyVersion": "0.0.0.1", - "TestingAssemblyVersion": null, - "IsTestingExclusive": false, - "RepoUrl": "https://brassnet.ddns.net:33983/Dawnsorrow/HSCompare", - "ApplicableVersion": "any", - "DalamudApiLevel": 14, - "DownloadCount": 0, - "LastUpdate": 1730000000, - "DownloadLinkInstall": "https://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/releases/download/HSCompare-0.0.0.1/latest.zip", - "DownloadLinkUpdate": "https://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/releases/download/HSCompare-0.0.0.1/latest.zip", - "DownloadLinkTesting": null - } -]