forked from mindcraft-bots/mindcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
87 lines (75 loc) · 5.05 KB
/
settings.js
File metadata and controls
87 lines (75 loc) · 5.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
const settings = {
"minecraft_version": "auto", // or specific version like "1.21.6"
"host": "127.0.0.1", // or "localhost", "your.ip.address.here"
"port": 55916, // set to -1 to automatically scan for open ports
"auth": "offline", // or "microsoft"
// the mindserver manages all agents and hosts the UI
"mindserver_port": 8080,
"auto_open_ui": true, // opens UI in browser on startup
"base_profile": "assistant", // survival, assistant, 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/mercury.json",
// "./profiles/andy-4.json", // Supports up to 75 messages!
// 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
"speak": false,
// allows all bots to speak through text-to-speech.
// specify speech model inside each profile with format: {provider}/{model}/{voice}.
// if set to "system" it will use basic system text-to-speech.
// Works on windows and mac, but linux requires you to install the espeak package through your package manager eg: `apt install espeak` `pacman -S espeak`.
"chat_ingame": true, // bot responses are shown in minecraft chat
"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
"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
"show_command_syntax": "full", // "full", "shortened", or "none"
"narrate_behavior": true, // chat simple automatic actions ('Picking up item!')
"chat_bot_messages": true, // publicly chat messages to other bots
"block_place_delay": 0, // delay between placing blocks (ms) if using newAction. helps avoid bot being kicked by anti-cheat mechanisms on servers.
"log_all_prompts": false, // log ALL prompts to file
// long-horizon autonomous goal loop configuration
"autonomy": {
"auto_start_infinite_goal": true, // auto start endless progression when no task is set and no saved goal is loaded
"default_infinite_goal": "Survive, improve gear, and progress forever with no final endpoint.",
"cooldown_ms": 2000, // delay between self-prompt cycles
"max_commands_per_cycle": 1, // keep one-command control loop for robust long tasks
"max_no_command_cycles": 4, // watchdog threshold before forcing a recovery prompt
"max_stalled_cycles": 6, // watchdog threshold before forced repositioning recovery
"rotate_subgoal_every_ms": 180000, // rotate infinite subgoal every 3 minutes
"inject_stats_every_ms": 45000, // periodically inject compact heartbeat context
"checkpoint_every_cycles": 12, // save memory checkpoints during long runs
"enable_agi_by_default": true, // use milestone planner by default for infinite goal mode
"agi_replan_interval_ms": 120000, // AGI planner full replan interval
"agi_max_stagnation_cycles": 5, // AGI milestone failure threshold before replanning
"infinite_goal_pool": [
"Build and organize a safe base with storage, furnaces, and a bed.",
"Upgrade to a full set of iron tools and armor, then stock backups.",
"Create a sustainable food pipeline (farm, animals, or fishing).",
"Map nearby biomes and collect diverse resource blocks.",
"Set up a villager trading route and collect emeralds efficiently.",
"Prepare for Nether exploration with spare gear and food.",
"Gather enchanting resources and improve combat/survival loadout.",
"Automate repetitive gathering tasks and keep inventory tidy."
]
}
}
export default settings;