Skip to content

Building

shmitzas edited this page Nov 10, 2026 · 1 revision

Building

Building VIPCore and its modules from source.


Requirements

.NET SDK 10.0.x
SwiftlyS2 Restored automatically from NuGet
Git For cloning

No database is needed to build — only to run.


Clone

git clone https://github.com/SwiftlyS2-Plugins/VIPCore.git
cd VIPCore

Build

Core:

dotnet publish VIPCore/VIPCore.csproj -c Release

A module:

dotnet publish Modules/VIP_Armor/VIP_Armor.csproj -c Release

Each project writes a ready-to-deploy folder under its build/publish/, and a zip of it into its build/:

VIPCore/build/VIPCore.zip
Modules/VIP_Armor/build/VIP_Armor.zip

Unzip into addons/swiftlys2/plugins/. Building VIPCore also builds the contract and copies VIPCore.Contract.dll into its resources/exports/.


Layout

VIPCore.Contract/        The interface modules bind against
VIPCore/                 Core
  lib/                   Cookies.Contract.dll, to build against
  resources/
    translations/        en.jsonc, lt.jsonc, pt-BR.jsonc
    exports/             VIPCore.Contract.dll, for modules to reference
  src/
Modules/
  VIP_AntiFlash/         One folder per module
  …

Each module is its own project, builds on its own and ships its own zip.


Contributing

Open a pull request against SwiftlyS2-Plugins/VIPCore and fill in its template.

Clone this wiki locally