Repository navigation
feat(workshop): add Steam Workshop downloads for Barotrauma and Stationeers - #5014
Merged
Merged
Conversation
This was referenced Oct 11, 2026
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 (#5008, #5009, #5012) to Barotrauma and Stationeers. Neither dedicated server downloads Workshop mods itself. Both download anonymously, so no Steam account is needed.
Per-game install
serverfiles/mods/<id>. On start, the server adds every mod in that folder tomodconfig.xmlas an enabled<Local>entry, and drops entries for mods that are gone, so LinuxGSM doesn't editmodconfig.xml.LocalMods/<id>. The server only loads mods listed inconfig_player.xmlunder<regularpackages>(ContentPackageManager.RegularPackagesElementName/RegularPackagesSubElementNamein the game source), so LinuxGSM keeps a<package path="LocalMods/<id>/filelist.xml" />entry for each Workshop mod, inworkshopmodsorder.<regularpackages />.config_player.xmldoesn't exist yet (the server has never started), LinuxGSM warns and skips the step.Testing
Live servers, running this branch:
workshopmods="3813753764", Strom-Ofen electric furnace):mods/3813753764, and after the restart the server wrote<Local Enabled="true"><Path Value="/data/serverfiles/mods/3813753764" /></Local>tomodconfig.xmland loaded it.workshopmods="3815618949", Diving Suit Slot):LocalMods/3815618949and added to<regularpackages>, and the server kept the entry across restarts.config_player.xmlediting:workshopmods.<regularpackages />.Relates to #3514.
Type of change
Checklist
developbranch as its base.Documentation
Covered in GameServerManagers/LinuxGSM-Docs#132.