Skip to content

LunnosMp4/Minecraft-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Bot

A Minecraft Bot named Pato who is able to perform actions like a real player.

This bot can be supported on older versions but it is better to play in 1.16.4 or newer.

Installation

First, install nodeJS: https://nodejs.org/en/download/

Then open a terminal at the root of the folder and use this command.

On Linux:

    ./setup/install-mineflayer.sh

On Windows - Powershell:

    ./setup/install-mineflayer.ps1

Connect to a server

    node pato.js <Name> <IP> <Port>

With Port:

    node pato.js Pato mc.my-server.com 52650

Without Port:

    node pato.js Pato mc.my-server.com

On LocalHost:

    node pato.js Pato Localhost <Port>

In Game

To execute bot commands in game, just write them in the Minecraft chat. To see all the available commands use the help command.

3 web servers will launch on your localhost:

You can also write into the Ingame chat using the command bot.chat("text") from your terminal. So you can write a message or even commands ! (see example below)

Example :

    bot.chat("Hello World!")
    bot.chat("/gamemode creative")
    bot.chat("come <Pseudo>")

⚠️: Be careful, this bot can perform actions that are impossible for an average player, on the majority of minecraft servers this kind of bot is prohibited, you are responsible for your actions !

Enjoy the bot !

About

A minecraft bot who can do actions such as a player

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published