export default
{
"minecraft_version": "1.20.1", // supports up to 1.20.4
"host": "localhost", // or "localhost", "your.ip.address.here"
"port": 6969,
"auth": "offline", // or "microsoft"
"profiles": [
"profiles/gemini.json"
],
"load_memory": false, // load memory from previous session
"init_message": "Say hello world and your name", // sends to all on spawn
"allow_insecure_coding": false, // allows newAction command and model can write/run code on your computer. enable at own risk
"code_timeout_mins": 10, // minutes code is allowed to run. -1 for no timeout
"max_commands": -1, // max number of commands to use in a response. -1 for no limit
"verbose_commands": true, // show full command syntax
"narrate_behavior": true, // chat simple automatic actions ('Picking up item!')
}
The error on the terminal said:
PS D:\mindcraft-main> node main.js
Using chat settings: { model: 'gemini-1.5-flash', api: 'google' }
Using embedding settings: { api: 'google' }
Loading examples...
Examples loaded.
Logging in...
Mineflayer detected that you are using a deprecated event (physicTick)! Please use this event (physicsTick) instead.
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
errno: -4077,
code: 'ECONNRESET',
syscall: 'read'
}
Agent process exited with code 0 and signal null
I cant run a bot with this setup?
export default { "minecraft_version": "1.20.1", // supports up to 1.20.4 "host": "localhost", // or "localhost", "your.ip.address.here" "port": 6969, "auth": "offline", // or "microsoft"
}
The error on the terminal said:
PS D:\mindcraft-main> node main.js Using chat settings: { model: 'gemini-1.5-flash', api: 'google' } Using embedding settings: { api: 'google' } Loading examples... Examples loaded. Logging in... Mineflayer detected that you are using a deprecated event (physicTick)! Please use this event (physicsTick) instead. Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:218:20) { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Agent process exited with code 0 and signal null
Yes, my lan server is running on the port "6969".