Get Started
Docs/Getting Started/Configuration
Environment

Configuration

Configure identity, server credentials, network ports, security keys, and subsystem policies.

The .env Configuration File

# Canonical Owner Username (Permanent Tier-4 Superuser)
OWNER_USERNAME=ShadowPace

# Bot In-Game Identity
MC_USERNAME=Argus

# Authentication Type: 'offline' (LAN / cracked), 'microsoft' (official account), 'mojang'
AUTH_MODE=offline

# Minecraft Server Connection
MC_HOST=localhost
MC_PORT=25565
MC_VERSION=1.20.1

# Telemetry Server & Dashboard Port
API_PORT=3000

# Storage: Leave blank for local atomic JSON persistence, or supply a MongoDB URI
MONGODB_URI=

# Dashboard Security
DASHBOARD_PASSWORD=admin
DASHBOARD_SESSION_SECRET=argus_production_session_secret_2026

Subsystem Config Modules

Fine-tune domain behaviors directly in the config/ directory:

  • ambientConfig.js: Sleep conditions, bed search radius (16 blocks), hunger recovery thresholds (eat at ≤ 16).
  • combatConfig.js: Threat weighting, engagement distances, retreat HP threshold (< 3 hearts).
  • forestryConfig.js: Maximum tree height, natural tree evidence heuristics, replant radius.
  • logisticsConfig.js: Kit profiles (miner, warrior, farmer, woodcutter).