{ "_schema": "Echoion Music Bot Configuration v3.0", "_documentation": "https://github.com/faumaray/echoion/wiki/Configuration", "_format_note": "v3 serializes the config types directly: durations are strings (\"30000ms\", also accepts \"30s\"/\"5m\"/\"1h\"), enums use their names, and the proxy is a nested object (or null). Unknown keys (the _comment fields below) are ignored on load.", "bot": { "_section": "Core Bot Settings", "botName": "Echoion", "commandPrefix": "!", "defaultVolume": 0.5, "maxQueueSize": 100, "trackTimeout": "30000ms", "_reconnection": "Auto-reconnection settings", "autoReconnect": true, "reconnectDelay": "5000ms", "maxReconnectAttempts": 5, "_audio": "Audio quality: Low | Medium | High | VeryHigh | Lossless", "preferredQuality": "High", "allowPlaylistImports": true }, "youtube": { "_section": "YouTube Integration", "_apiKey": "Optional: YouTube Data API v3 key for faster searches", "youtubeApiKey": null, "_cookies": "Fix 'Sign in to confirm' errors using ONE of these methods:", "_cookies_method_1": "Path to cookies.txt file (export from browser extension)", "youtubeCookiesPath": null, "_cookies_method_2": "Use cookies directly from browser: chrome, firefox, safari, edge", "cookiesFromBrowser": null, "_performance": "yt-dlp performance tuning (ytDlpMaxConcurrent capped at 8)", "ytDlpMaxConcurrent": 4, "ytDlpAsyncEnabled": true, "_urlShortening": "Shorten YouTube links using faumaray.ru", "enableUrlShortening": true }, "network": { "_section": "Network & Proxy Settings", "_proxy": "Optional proxy for YouTube access. Set to null to disable, or an object: {\"type\": \"HTTP\"|\"SOCKS5\", \"host\": \"...\", \"port\": 1080, \"username\": null, \"password\": null, \"timeout\": null}", "proxy": null, "_rpc": "WebSocket RPC server for Desktop/API clients", "rpcEnabled": true, "rpcPort": 8765, "rpcBindAddress": "127.0.0.1" }, "teamspeak": { "_section": "TeamSpeak Server Connection", "address": "localhost", "port": 9987, "serverPassword": "", "nickname": "EchoionBot", "_channel": "Default channel configuration", "defaultChannelId": null, "channelPassword": null, "_permissions": "Server group IDs for access control", "adminGroups": [6, 7], "djGroups": [8], "bannedGroups": [] }, "security": { "_section": "Security & Authentication", "requireAuthForAdmin": true, "maxLoginAttempts": 5, "lockoutDuration": "300000ms", "sessionTimeout": "3600000ms", "enableAuditLog": true, "_api": "API authentication for RPC clients", "apiKey": null, "allowCors": false, "corsOrigins": ["http://localhost:3000"] }, "features": { "_section": "Feature Toggles", "enableHotReload": true, "enableAutoReload": false, "enableAutoUpdateCheck": true, "_playback": "Playback behavior settings", "autoStartOnSubscribe": true, "pauseOnEmptySubscribers": true, "resumeOnSubscriberReturn": true, "_queue": "Queue management settings", "shuffleMode": "random", "repeatMode": "off", "maxHistorySize": 50 }, "advanced": { "_section": "Advanced Settings (Modify with caution)", "_audio": "Low-level audio configuration", "sampleRate": 192000, "channels": 2, "bufferSize": 7680, "_threading": "Thread pool configuration", "commandThreadPoolSize": 4, "networkThreadPoolSize": 4, "decoderThreads": 2, "_cache": "Cache and temporary file settings", "cacheEnabled": true, "cacheMaxSize": "1GB", "cacheTTL": 86400, "tempCleanupInterval": 3600 } }