DebugToolkit

版本 v3.23.0·更新於 2026-10-09

Adds console command for debugging mods.

模組介紹 作者原文

DebugToolkit

This mod adds various debugging commands to the console. See below for all commands plus explanation.

Harb, iDeathHD, Chinchi, and 's reimplementation of Morris1927's RoR2Cheats. Derived with permission.

Also adds autocompletion for arguments and networked commands giving their information to the right people to the console. Read here to see how you can use the autocompletion feature for your own mod.

Track update progress, get support and suggest new features over at the DebugToolkit discord.

Some vanilla console functions you might not know:

  • The console can be opened with ctrl+alt+~ or ctrl+alt+f2.
  • DebugToolkit automatically enables the console so there is no need to do this. In fact doing this would lock the console and you would have to press the combination to unlock it again. Just press ~ or f2 to toggle the window.
  • We have also added Page Up as an alternative to the default key since the latter is language dependent. Configurable.
  • help {command} may be used to get help for a specific command.
  • find {term} can be used to find commands with that term.
  • max_messages {nr} changes how much scroll back the console has. We auto change this to 100 for you if it's on default.

You may contact us at any time through issues on GitHub, the dedicated discord server or through the Risk of Rain 2 modding Discord found at the top of the website.

Additional Contributors ##

  • DestroyedClone (Github)
  • Rays
  • HeyImNoop
  • RandomlyAwesome
  • Goorakh
  • Wolfo

COMMANDS ##

Command Parsing:

  • Multiple commands can be combined with;.
  • Only alphanumeric characters and the symbols._-: are allowed. Any other character requires being surrounded by quotes in order to be parsed literally. Both " and ' work, while \" and \' also work when nesting quotes.

Verbiage:

  • The brackets encapsulating arguments mean {needed}, (choose one), and [optional].
  • If an optional argument has a default value, it will be indicated with:. Any preceeding optional arguments from the one entered become necessary, but empty double quotes ("") can be used as a placeholder for the default value. If an optional argument is required from a dedicated server, it will be preceeded by *.
  • Player, body, AI, item, equipment, team, elite, interactable, and director card values can be declared by either their ID, or their string name. The latter can be written in freeform and it will be matched to the first result that contains the string. See the related list_ commands for options and which result would take precedence if there are multiple matches.

Commands:

  • next_stage - Advance to the next stage. next_stage [specific_stage]. If no stage is entered, the next stage in progression is selected.
  • force_family_event - Forces a Family Event to happen in the next stage, takes no arguments. force_family_event
  • next_boss - Sets the next teleporter/simulacrum boss to the specified boss. Get a list of potential boss with list_directorcards. next_boss {director_card} [count:1] [elite:None]
  • fixed_time - Sets the time that has progressed in the run. Affects difficulty. fixed_time [time]. If no time is supplied, prints the current time to console.
  • stop_timer - Pause/unpause the run timer. pause_timer [enable (0|1)]. If no argument is supplied, toggles the current state. Only works for "Stage" and "TimedIntermission" stages.
  • next_wave - Advance to the next Simulacrum wave. next_wave
  • force_wave - Set the next wave prefab. force_wave [wave_prefab]. If no input is supplied, prints all available options and clears any previous selection.
  • run_set_waves_cleared - Set the Simulacrum waves cleared. Must be positive. set_run_waves_cleared {wave}
  • add_portal - Add a portal to the current Teleporter on completion. add_portal {portal ('blue'|'celestial'|'gold'|'green'|'void'|'all')}.
  • charge_zone - Set the charge of all active holdout zones. charge_zone [charge]. If no argument is supplied, all zones are fully charged.
  • evolve_lemurians - Evolv

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

bbepis-BepInExPackRiskofThunder-R2API_PrefabRiskofThunder-R2API_NetworkingRiskofThunder-R2API_CoreRiskofThunder-R2API_ContentManagement

檔案與校驗

檔案名稱
DebugToolkit-3.23.0.zip
檔案大小
249.2 KiB