VigilModManager

版本 v1.0.1·更新於 2025-11-19

Mod for Displying installed mods and adding settings for mods

截圖 共 2 張

模組介紹 作者原文

VigilModManager

W.I.P

A mod manager for the game Vigil that provides an in-game interface for managing loaded mods and their settings.

The mod is built using Melonloader 7.1

Showcase

Mod Button in Main Menu

Mod Management Interface

Installation

  • Install MelonLoader for Vigil if not already installed
  • Place VigilModManager.dll from releases in the Mods folder of your Vigil installation
  • After launching the game the mod will automatically initialize and add a "Mods" button to the main menu

Usage

For Players

  • Launch Vigil and navigate to the main menu
  • Click the "Mods" button to open the mod management interface
  • Browse the list of installed mods on the left
  • Click on any mod to view its information on the right
  • If a mod has configurable settings, click "Settings" to open its configuration panel

For Mod Developers

To add settings to your mod:

using VMM.ModRegistry.Settings;

using VMM.ModRegistry.Settings.Types;

// Create settings container

var settings = new ModSettings();

// Add a toggle setting

var toggleSetting = new ToggleSetting

{

Name = "Enable Feature",

Value = true,

OnChanged = (value) => {

// Handle setting change

YourMod.HandleToggleChange(value);

}

};

settings.AddSetting(toggleSetting);

// Add a slider setting

var sliderSetting = new SliderSetting

{

Name = "Intensity",

Value = 50f,

MinValue = 0f,

MaxValue = 100f,

OnChanged = (value) => {

// Handle slider change

YourMod.HandleSliderChange(value);

}

};

settings.AddSetting(sliderSetting);

// Register settings with the manager

VMM.ModRegistry.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);

Development

Building

  • Set the VIGIL_GAME_DIR environment variable to your Vigil installation directory
  • Example Windows: setx VIGIL_GAME_DIR "E:\Steam\steamapps\common\Vigil"
  • Build the project using Visual Studio or dotnet build
  • The post-build event automatically copies the compiled DLL to the game's Mods folder

Need help, suggest a feature or found a bug?

Open up a issue and tag it with the fitting tags

License

This project is licensed under the Apache License 2.0. See LICENSE.txt for the full license text.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

LavaGang-MelonLoader

檔案與校驗

檔案名稱
VigilModManager-1.0.1.zip
檔案大小
16.9 KiB