urFate / Afk-Bot

Funcional minecraft AFK bot for servers. Anti-AFK, Auto-Auth, Microsoft/Offline accounts support.
MIT License
113 stars 460 forks source link

Not Working #56

Closed aksyttt closed 1 year ago

aksyttt commented 1 year ago

When i started my bot with nodejs 18.13.0, it showed this error & got offline. Is there any way i can fix it? IMG_20230122_010707

urFate commented 1 year ago

Config?

aksyttt commented 1 year ago

Wdym? i didn't configured anything except settings.

{
  "bot-account": {
    "username": "imheker777",
    "password": "",
    "type": ""
  },

  "server": {
    "ip": "play.pixelbangla.xyz",
    "port": 25565,
    "version": "1.19.2"
  },

  "position": {
    "enabled": true,
    "x": 0,
    "y": 0,
    "z": 0
  },

  "utils": {
    "auto-auth": {
      "enabled": true,
      "password": "password"
    },

    "anti-afk": {
      "enabled": true,
      "sneak": true,
      "jump": true,
      "hit": true,
      "rotate": true,

      "circle-walk": {
        "enabled": true,
        "radius": 5
      }
    },

    "chat-messages": {
      "enabled": false,
      "repeat": true,
      "repeat-delay": 60,

      "messages": [
        "I'm a regular player ",
        "My owner is urFate_ ",
        "I want be alone ",
        "Visit my GitHub page! (urFate/Afk-Bot)"
      ]
    },

    "chat-log": true,
    "auto-reconnect": true,
    "auto-reconnect-delay": 5000
  }
}
aksyttt commented 1 year ago

Please help me how to fix

urFate commented 1 year ago

Where you are hosting your bot? Your logs doesn't provide particular information and it's very difficult to say what is the reason. I just can suggest, your hosting have some limitations which by some reason causes your issue.