mindcraft/settings.js

68 lines
3.6 KiB
JavaScript

const settings = {
"minecraft_version": "1.21.1", // supports up to 1.21.1
"host": "127.0.0.1", // or "localhost", "your.ip.address.here"
"port": 55916,
"auth": "offline", // or "microsoft"
// the mindserver manages all agents and hosts the UI
"mindserver_port": 8080,
"base_profile": "survival", // survival, creative, or god_mode
"profiles": [
"./andy.json",
// "./profiles/gpt.json",
// "./profiles/claude.json",
// "./profiles/gemini.json",
// "./profiles/llama.json",
// "./profiles/qwen.json",
// "./profiles/grok.json",
// "./profiles/mistral.json",
// "./profiles/deepseek.json",
// "./profiles/andy-4.json",
// using more than 1 profile requires you to /msg each bot indivually
// individual profiles override values from the base profile
],
"load_memory": false, // load memory from previous session
"init_message": "Respond with hello world and your name", // sends to all on spawn
"only_chat_with": [], // users that the bots listen to and send general messages to. if empty it will chat publicly
"language": "en", // translate to/from this language. Supports these language names: https://cloud.google.com/translate/docs/languages
"render_bot_view": false, // show bot's view in browser at localhost:3000, 3001...
"allow_insecure_coding": false, // allows newAction command and model can write/run code on your computer. enable at own risk
"allow_vision": false, // allows vision model to interpret screenshots as inputs
"vision_mode": "off", // "off", "prompted", or "always"
"blocked_actions" : ["!checkBlueprint", "!checkBlueprintLevel", "!getBlueprint", "!getBlueprintLevel"] , // commands to disable and remove from docs. Ex: ["!setMode"]
"code_timeout_mins": -1, // minutes code is allowed to run. -1 for no timeout
"relevant_docs_count": 5, // number of relevant code function docs to select for prompting. -1 for all
"max_messages": 15, // max number of messages to keep in context
"num_examples": 2, // number of examples to give to the model
"max_commands": -1, // max number of commands that can be used in consecutive responses. -1 for no limit
"verbose_commands": true, // show full command syntax
"narrate_behavior": true, // chat simple automatic actions ('Picking up item!')
"chat_bot_messages": true, // publicly chat messages to other bots
"speak": false, // enable text-to-speech
"stt_transcription": false, // enable speech-to-text transcription
"stt_username": "SERVER", // username for STT messages
"stt_agent_name": "", // agent name for STT messages, if empty it will send the STT to all bots
// STT Audio Detection Settings
"stt_rms_threshold": 3000, // Raised from 1000 to reduce false triggers
"stt_silence_duration": 2000, // 2 seconds of silence before stopping
"stt_min_audio_duration": 0.5, // Minimum audio duration in seconds
"stt_max_audio_duration": 45, // Maximum audio duration in seconds
"stt_debug_audio": true, // Enable to see what's happening
"stt_cooldown_ms": 2000, // Minimum time between recordings
"stt_speech_threshold_ratio": 0.05, // Much lower - 5% instead of 15%
"stt_consecutive_speech_samples": 3, // Reduced from 5 to 3
"log_normal_data": false, // Logs all inputs / outputs without reasoning or vision data
"log_reasoning_data": false, // Logs only reasoning inputs / outputs
"log_vision_data": false, // Logs only vision inputs / outputs
}
export default settings;