Repository navigation
feat(workshop): add Steam Workshop downloads for Squad and Starbound - #5009
Merged
Merged
Conversation
This was referenced Oct 11, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extends the Workshop downloader from #5008 to Squad and Starbound. Neither dedicated server downloads Workshop mods itself.
Unlike Arma 3 and DayZ, Squad and Starbound Workshop items download anonymously, so no Steam account is needed beyond what the server already uses (Squad is anonymous; Starbound already needs
steamuser).Per-game install
SquadGame/Plugins/Mods/<id>. The server mounts every mod in that folder, so no config change is needed.serverfiles/workshop/@<id>, and its.pakfiles are linked intoserverfiles/modsasworkshop-<id>-contents.pak. Removing the mod removes its links.Other changes
.lgsm-workshopstate file) are ever removed. This matters for Squad, whosePlugins/Modsalso holds the game's ownCanadianArmedForcesmod and any mods added by hand.update,check-updateandstartnow detect Workshop use from the saved mod list (lgsm/data/<instance>-workshop.txt), rather than fromserverfiles/workshop. The list is removed once no Workshop mods are left, soupdatestops checking the Workshop.workshopmodswas added to the Squad and Starbound default configs, andworkshop-updateto their commands.Testing
Live test servers, running this branch:
workshopmods="3816094872", Vanilla Dungeons and Encounters, 27 MB):starbound_server.logshowsDetected asset source named 'nonffs_dungeons' at '../mods/workshop-3816094872-contents.pak'andLoading assets fromthat file.workshopmods="3813515660", YM NoDrones), downloaded with an anonymous login:Successfully mounted and serialised mod: YM_NoDronesfromPlugins/Mods/3813515660.workshopmodsremoved the mod (and the Starbound link) and restarted the server.CanadianArmedForceswas left in place.Plugins/Modsis never touched.Relates to #960 (Starbound Workshop support).
Type of change
Checklist
developbranch as its base.Documentation
Covered in GameServerManagers/LinuxGSM-Docs#132.