BIOS v5.4.x — BepInEx Runtime Environment
Detecting plugins… OK
Loading HavenDevTools… OK

> HavenDevTools v1.2.2

Developer & Debugging Utilities for Sun Haven|

Type help for available commands — Press F12 to toggle console

Thunderstore Nexus Mods Combined

NAME

havendevtools — a comprehensive development toolkit for Sun Haven mod developers. Provides real-time game state inspection, advanced logging, debug overlays, and utilities for testing and troubleshooting mods.

SYNOPSIS

havendevtools [--toggle F12] [--overlay F11] [--autocomplete Tab]

KEY BINDINGS

F12
Toggle DevTools
F11
Debug Overlay
Tab
Autocomplete

MODULES  (6 loaded, 0 failed)

PID 001 — state-inspector
🔍

State Inspector

Inspect player stats, inventory, active quests, NPC relationships, and game variables in real-time with a searchable interface.

PID 002 — logger
📝

Advanced Logging

Categorized log levels (Debug, Info, Warning, Error) with timestamps, stack traces, and log filtering by mod or category.

PID 003 — overlay
🎮

Debug Overlay

Toggle on-screen overlays showing FPS, memory usage, active scene, player position, and custom debug variables.

PID 004 — console

Command Console

Execute debug commands to modify game state, spawn items, teleport, adjust time, and test mod functionality.

PID 005 — hotreload
🔄

Hot Reload

Reload configuration files and certain mod components without restarting the game for faster iteration.

PID 006 — perfmon
📊

Performance Monitor

Track frame times, memory allocation, and identify performance bottlenecks in real-time graphs.

DIRECTORY TREE

$ tree ~/havendevtools/tools/

~/tools/inspection
🔎

Inspection Tools

Examine game state and object properties

  • Player Stats Viewer
  • Inventory Inspector
  • NPC Relationship Data
  • Quest State Tracker
  • Scene Hierarchy Browser
~/tools/logging
📄

Logging Tools

Track and filter debug output

  • Console Log Window
  • Log Level Filters
  • Stack Trace Viewer
  • Log Export (JSON/TXT)
  • Error Aggregation
~/tools/testing
🧪

Testing Tools

Test functionality and simulate scenarios

  • Item Spawner
  • Time Manipulation
  • Event Trigger
  • Stat Modifier
  • Save State Manager
~/tools/utilities
⚙️

Utilities

General development helpers

  • Scene Teleporter
  • Config Editor
  • Heartbeat Monitor
  • Reflection Helper
  • Asset Browser

QUICK START

$

Open DevTools Console

Press F12 or ` (backtick) to toggle the developer console overlay.

$

Navigate Panels

Use the tab bar to switch between Inspector, Console, Performance, and Tools panels.

$

Execute Commands

Type commands in the console input. Use Tab for autocomplete and Up/Down for history.

$

Toggle Overlays

Press F11 to toggle the performance overlay, or use overlay.toggle command.

COMMANDS

$ havendevtools --list-commands
Command Description
help List all available commands
player.stats Display current player statistics
spawn [itemId] [amount] Spawn items into inventory
time.set [hour] Set the in-game time (0-23)
tp [scene] Teleport to a scene
log.level [level] Set minimum log level (debug/info/warn/error)
reload.config Hot reload mod configuration files
clear Clear the console output

⚠️ WARNING: Development Tool

HavenDevTools is intended for mod development and debugging purposes. Some features can modify game state in ways that may affect save files. Always backup your saves before extensive testing. Available on Nexus Mods and Thunderstore.

CONFIGURATION

$ cat ~/.config/havendevtools/config.cfg
Setting Default Description
ToggleKey F12 Key to open/close DevTools
OverlayKey F11 Key to toggle performance overlay
LogLevel Debug Minimum level to display
HeartbeatInterval 5.0 Seconds between heartbeat logs
MaxLogEntries 1000 Maximum entries before auto-clear
ShowOnStartup false Auto-open DevTools on game start

Configuration file: BepInEx/config/com.azraelgodking.havendevtools.cfg

INSTALLATION

# Step 1: Install BepInEx runtime
$ install bepinex-5.x --target sunhaven
# Step 2: Download HavenDevTools
$ wget nexusmods.com/sunhaven/mods/495 -O HavenDevTools.dll
# Step 3: Install the mod
$ cp HavenDevTools.dll BepInEx/plugins/
# Step 4: Launch and verify
$ sunhaven --launch && echo "Press F12 to open DevTools"
✔ Installation complete.