Help is appreciated #2237
DeathStorm013
started this conversation in
General
Replies: 1 comment
-
Hey Can you show use the code that you have? If you are using the "auth" option in the createBot then I assume you are trying to log in with a mircrosoft account. If you are logging in with a mojang account, you do not need the auth line. const bot = mineflayer.createBot({
host: "0.0.0.0",
port: 25565,
username: "BotUsername",
password: "BotPassword",
auth: "microsoft", // do not need if using mojang account
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when im running the createbot code its giving me an error for "auth" as unexpected identifier .imma total stranger to java and i tried reading the tutorial but cant figure much ,can someone help me as to wt to do
Beta Was this translation helpful? Give feedback.
All reactions