Risk_Of_Options

⭐ — (65 endorsements) 📥 491,537 downloads 📌 v2.8.5 📅 9/26/2020
🟡 Updated this year

By Rune580 · Mods

⬇ Download Mod Source: Thunderstore ↗ 📅 Updated: 1/19/2026 📅 Created: 9/26/2020

🔍 Analysis

  • 👍 0.0% endorsement rate
  • 🏆 #3 of 515 Mods mods in this game by downloads

📋 About This Mod

RiskOfOptions An API to add Mod Options in game to ROR2. Getting Started First you need to grab the latest release from the Thunderstore . Extract the mod to your plugins folder, and then add a reference to the dll in your project in Visual Studio. Then add to where ever you will use this. using RiskOfOptions; Next you need to add Risk Of Options as a dependecy for your mod. Now you're ready to start adding options. Adding an option This needs to be run on Awake() ModSettingsManager.addOption(new ModOption(ModOption.OptionType.Slider, "Test Slider", "This is a Slider test.")); ModSettingsManager.addOption(new ModOption(ModOption.OptionType.Bool, "Test Bool", "This is a Bool test.")); and with default values ModSettingsManager.addOption(new ModOption(ModOption.OptionType.Slider, "Test Slider", "This is a Slider test.", "20")); ModSettingsManager.addOption(new ModOption(ModOption.OptionType.Bool, "Test Bool", "This is a Bool test.", "1")); Changing the description of the mod panel ModSettingsManager.setPanelDescription("Testing stuff"); Changing the title of the mod panel ModSettingsManager.setPanelTitle("Risk of Options Testing Stuff"); Fire event when value has changed for a slider ModSettingsManager.addListener(ModSettingsManager.getOption("Test Slider"), new UnityEngine.Events.UnityAction<float>(floatEvent)); public void floatEvent(float f) { Debug.Log(f); } or for a bool ModSettingsManager.addListener(ModSettingsManager.getOption("Test Bool"), new UnityEngine.Events.UnityAction<bool>(boolEvent)); public void boolEvent(bool b) { Debug.Log(b); } Get the current value of an option string b = ModSettingsManager.getOptionValue("Test Bool"); // BaseConVar returns a string as a value. // for example it could be "1" or "0" Get the ModOption of an option ModSettingsManager.getOption("Test Bool") Previews

A convenient API for adding BepInEx ConfigEntry's to a option menu

📊 Mod Details

Game
Thunderstore Mods
Author
Rune580
Version
2.8.5
Downloads
491,537
Endorsements
65
Category
Mods
Created
9/26/2020
Updated
1/19/2026
Tags
Mods, Libraries, Client-side

🔧 How to Install Thunderstore Mods

Use r2modman/Thunderstore Mod Manager. Or manual: install BepInEx, drop mods into plugins folder.

📖 Full step-by-step install guide for Thunderstore →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Thunderstore commands, item IDs, and more.

Keep browsing — more Thunderstore mods await

📋 All Thunderstore Mods 🏆 Top 25 📂 More Mods 👤 More by Rune580 🔎 Similar Mods 🌐 Best Mods (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods