You are viewing a potentially older version of this package. View all versions.
pharmacomaniac-SettingsExtenderForked-0.1.6 icon

SettingsExtenderForked

A small framework that lets modders add pages to the game's settings menu to edit mod settings in-game.

Date uploaded 4 days ago
Version 0.1.6
Download link pharmacomaniac-SettingsExtenderForked-0.1.6.zip
Downloads 8267
Dependency string pharmacomaniac-SettingsExtenderForked-0.1.6

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

Settings Extender Forked

A small framework that lets modders add pages to the game's settings menu to edit mod settings in-game.

Updated fork from the original mod made by JSPAPP


Who is this for?

  • Players: Mods use this to have their settings appear in‑game.
  • Modders: Add in-game settings using the existing settings menu and types found in the base game. Add toggles, sliders, or keybinds — this plugin makes it quick to add them to the Settings menu without building custom menus yourself.

What it does

  • Creates a new tab for your mod in the game’s Settings menu.
  • Adds your options (sliders, toggles, enums, buttons, keybinds) to that tab.

Features

  • Easy setup with an attribute that declares the tab and display name.
  • Base classes for common setting types (Bool, Float, Int, String, Enum, Keybind, Button).
  • One‑line helper to register settings.
  • Built‑in fixes for stability and text handling.

Quick example

using SettingsExtender;
using Zorro.Settings;

[ExtenderSetting(page: "CoolMod", displayName: "Enable Cool Feature")]
internal class CoolFeatureToggle : ExtenderBoolSetting
{
    public CoolFeatureToggle() : base(_ => CoolModPlugin.Instance.ApplySettings()) {}
    protected override bool GetDefaultValue() => true;
}

// Register once (e.g., in Start)
coolFeatureToggle = SettingsHandler.Instance.AddSetting<CoolFeatureToggle>();

This declares a toggle on a new CoolMod tab and registers it in one line. The value is available via coolFeatureToggle.Value, and your callback runs when it changes.


Guides

CHANGELOG

Changelog

0.1.6

  • Fixed typos made in last typo fix patch

0.1.5

  • No code changes
  • Updated README and logo
  • Fixed AddSetting typo in Github guides

0.1.4

  • Now correctly overrides existing original SettingsExtender installation, allowing both to coexist.
  • You can now keep JSPAPP's SettingExtender and this Forked mod installed together, allowing you to have other mods that depend on the original.

0.1.3

Added

  • Renamed Assembly to allow packages depending on original work (hopefully)