jayugg.VintageStory.Mod.Templates 1.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet new install jayugg.VintageStory.Mod.Templates::1.1.2
                    
This package contains a .NET Template Package you can call from the shell/command line.

Vintage Story content modding template for dotnet

This repository contains the following template, which can be used with Rider, Visual Studio, or VS Code to create a new Vintage Story content mod project:

Template Name                Short Name      Language  Tags
---------------------------  --------------  --------  -------------------
Vintage Story Content Mod    vscontentmod    [json]    Games/Vintage Story             
  • vscontentmod

Includes project using bas build script to zip mod archive

Available launch settings

The template will generate the following scripts in the scripts folder if the -IncludeScripts flag is enabled (default):

  • Build: Packages the mod as a zip file in the Releases folder. Set ignored files in the .zipignore file.
  • Client: Launches the game with the mod loaded.
  • Server: Launches a game server with the mod loaded.

These are available for Rider and VS Code. Check the Rider or VS Code section sections or the scripts readme for more information.

Install locally

Requirements

Install

Enter the parent folder of your local copy of this repository and run the following command

dotnet new install VSContentModTemplates

Use

To see all the available generation options, run the command

dotnet new vscontentmod --help
Rider

In Rider you can a new dotnet project and select the Vintage Story Content Mod template. The available options can be set in the GUI.

Alternatively, run the command (replace <ModName> with the name of your mod)

dotnet new vscontentmod -n <ModName>

If you have an arm64 Mac, you can use the --ArmMacOsLaunchSettings or -Ar flag to create working launch settings

dotnet new vscontentmod -n <ModName> --ArmMacOsLaunchSettings
Visual Studio

Project creation should be similar to Rider, but the run configurations are not automatically generated, so you will have to create them yourself. You should be able to set a simple configuration to run the existing scripts in the scripts folder. I cannot create them for Visual Studio as I do not have access to it. If you know how to create them, please submit a PR.

VS Code

Run the command (replace <ModName> with the name of your mod)

dotnet new vscontentmod -n <ModName> -VSLaunchSettings

Update

To update the template, run the following command

dotnet new install VSContentModTemplates --force

Check out also the Vintage Story wiki instructions on installing the official templates

Uninstall

You can go in the parent folder and run

dotnet new uninstall VSContentModTemplates

Alternatively you can run the command

dotnet new uninstall

and copy the generated command to uninstall this template

  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.2 184 9/2/2025
1.4.1 165 9/1/2025
1.4.0 220 8/27/2025
1.3.5 233 3/31/2025
1.3.3 157 3/28/2025
1.3.2 510 3/25/2025
1.3.1 510 3/25/2025
1.3.0 528 3/24/2025
1.2.4 309 3/23/2025
1.1.2 198 3/22/2025
1.1.0 196 3/22/2025