- Open the project in your preferred .NET IDE (e.g., Visual Studio, Rider, VS Code).
- Build the project. The output DLL and resources will be placed in the
build/directory. - The publish process will also create a zip file for easy distribution.
- Use the
dotnet publish -c Releasecommand to build and package your plugin. - Distribute the generated zip file or the contents of the
build/publishdirectory.
sw_downloadaddon <workshop_id> # Download a workshop addon via command
sw_searchpath # View all the VPK Search Paths
- To add an addon for players to download, modify
addons/swiftlys2/configs/plugins/AddonsManager/config.jsoncat keyMain.Addonswith Workshop ID's:
This plugin is a port of Source2ZE's MultiAddonManager for SwiftlyS2. It is released under GPL with credits given to the original code writers.
{ "Main": { "Addons": [ "WORKSHOP_ID1", "WORKSHOP_ID2", // ... ], // ... } }