HomeJavaModsSparkAnalyzer
SparkAnalyzer

SparkAnalyzer

A Minecraft plugin that analyzes Spark profiler data using AI to provide actionable performance recommendations.

Features

AI-Powered Analysis

Easy to Use

Webhook Integration

Internationalization

Security Hardened

Spoil config.yml
# SparkAnalyzer Configuration
# Security-hardened Minecraft Paper plugin for AI-powered Spark analysis

# Language setting - uses standard locale codes
# Available: en-US (default), vi-VN, ja-JP, etc.
# If an invalid code is provided, falls back to en-US
language: en-US

# AI Provider Configuration
ai:
  # Supported providers: openai, anthropic, gemini, 
  provider: openrouter
  
  # Your API key - NEVER share this publicly
  # This value is loaded securely and never logged
  api-key: your_api_key_here
  
  # Model to use for analysis
  # OpenAI: gpt-4.1-mini, gpt-4o, gpt-4-turbo
  # Anthropic: claude-3-opus, claude-3-sonnet
  # Gemini: gemini-pro
  # OpenRouter: Any model from openrouter.ai (e.g., openai/gpt-4o, anthropic/claude-3.5-sonnet, meta-llama/llama-3.1-70b-instruct)
  model: liquid/lfm-2.5-1.2b-thinking:free
  
  # Temperature controls randomness (0.0 = deterministic, 2.0 = creative)
  # For technical analysis, lower values (0.1-0.3) are recommended
  # Valid range: 0.0 to 2.0
  temperature: 0.2
  
  # Maximum tokens in the AI response
  # Higher values allow for more detailed analysis
  # Must be greater than 0
  max-tokens: 32000

# Webhook Configuration (Optional)
webhook:
  # Set to true to enable webhook notifications
  enabled: false
  
  # Webhook URL - only this URL will receive notifications
  # Example: https://discord.com/api/webhooks/...
  url: ""
  
  # Format: discord, slack, or generic
  format: discord
  
  # Include full analysis report in webhook (may be truncated)
  include-full-report: false
  
  # Maximum retry attempts for failed webhooks
  max-retries: 3
  
  # Auto-disable webhook after this many consecutive failures
  failure-threshold: 5

# Report Settings
reports:
  # Save detailed reports to plugins/SparkAnalyzer/reports/
  save-to-file: true
  
  # Include timestamps in report filenames
  include-timestamp: true

# Debug Settings (for troubleshooting only)
debug:
  # Enable verbose logging (does NOT log API keys)
  enabled: false

img1 img2

Requirements

Permissions

Permission Description
sparkanalyzer.analyze Use analysis commands
sparkanalyzer.reload Reload configuration
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more