Skip to content

feature: serve plugins' workshop addons through AddonsManager - #211

Merged
lukepolo merged 1 commit into
mainfrom
feature/workshop-addons
Oct 2, 2026
Merged

lukepolo merged 1 commit into
mainfrom
feature/workshop-addons

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

AddonsManager is no longer practice-only: any SwiftlyS2 server whose plugins list workshop addons (WORKSHOP_ADDONS, sent by the API) turns it on and serves exactly those, along with the practice HUD's addon.

  • workshop_addon_ids in util.sh: dedupes, keeps order, drops anything that is not a bare numeric id with a warning (AddonsManager drops its whole config over one bad entry)
  • enable_addons_manager in util.sh: links the image's AddonsManager and writes its config through materialize_for_write, same as the practice HUD did, now shared
  • AddonsManager stays off when nothing on the server needs an addon
  • CounterStrikeSharp image logs that it cannot serve the addons
  • Tests for both helpers in util.test.sh

Together with 5stackgg/plugin-registry#6, 5stackgg/api#498, #211 and 5stackgg/web#680.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant