🛠️

HavenDevTools

Developer & Debugging Utilities for Sun Haven|

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.

Core Features

🔍

State Inspector

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

📝

Advanced Logging

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

🎮

Debug Overlay

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

Command Console

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

🔄

Hot Reload

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

📊

Performance Monitor

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

Available Tools

Organized by functionality for quick access

🔎

Inspection Tools

Examine game state and object properties

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

Logging Tools

Track and filter debug output

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

Testing Tools

Test functionality and simulate scenarios

  • Item Spawner
  • Time Manipulation
  • Event Trigger
  • Stat Modifier
  • Save State Manager
⚙️

Utilities

General development helpers

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

Quick Start

1

Open DevTools Console

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

2

Navigate Panels

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

3

Execute Commands

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

4

Toggle Overlays

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

Common 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

⚠️ Development Only

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. This tool is not published to Nexus Mods as it's primarily for personal development use.

Configuration

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