JadeMin / aterbot

✨ A Minecraft bot for keep your Aternos server alive 24/7!
GNU General Public License v3.0
147 stars 686 forks source link

Cannot join bot at replit server #13

Closed Miku21750 closed 1 year ago

Miku21750 commented 1 year ago

I follow all of your step until no. 9 . but when i click join bot, it show a message connect ECONNREFUSED 185.107.194.19:40458

this is the config.json `{ "client": { "host": "Miku2120.aternos.me", "port": "40458", "username": "AFK_Miku21Bot" },

"! DO NOT EDIT BELOW !": "ONLY IF YOU KNOW WHAT YOU'RE DOING",
"logLevel": ["error", "log", "debug"],
"action": {
    "commands": ["forward", "back", "left", "right", "jump"],
    "holdDelays": [1000, 2000, 3000, 4000, 5000, 6000],
    "retryDelay": 15000
}

}`

EDIT : I Forget to see the terminal and this what i get

AFKBot got an error: Error: connect ECONNREFUSED 185.107.194.19:40458 [Error: connect ECONNREFUSED 185.107.194.19:40458] { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '185.107.194.19', port: 40458 }

sorry for my bad english

JadeMin commented 1 year ago

Hello, connect ECONNREFUSED usually means the host and port you've set is wrong. Check if there are any typos in your host or port.

Miku21750 commented 1 year ago

Nope, i am pretty sure the host and port are not have any typo

Below is the screenshot of my server Screenshot_2023-04-03-19-37-04-78

Miku21750 commented 1 year ago

I've set the online-mode to false, and activate all of experiment feature but still same

JadeMin commented 1 year ago

It seems your server is Bedrock Edition. Unfortunately this project only supports Java Edition (PC only) yet.

Thank you for your interest anyway! ❤️

BannedPlayer commented 1 year ago

I didn't understand how it was done. Can you make a video on how to use it?