alwyn974 / MinecraftBOT

A simple Minecraft BOT for 1.18.2
https://alwyn974.github.io/MinecraftBOT
MIT License
83 stars 49 forks source link
bot commons-cli java mcprotocollib minecraft minecraft-bot reflection-library swing swing-gui

MinecraftBOT

Description

Minecraft bot. Currently, used for afk on a Survival Server 😅

Features

Todos

Requirements

Downloads

https://github.com/alwyn974/MinecraftBOT/releases

Images

Gui

For cracked account, just type the username in Email field

Tips

There are environment variable to override the default value of host, port, username and password

They are some builtin commands in the bot

Command Line Interface

Like the GUI, the CLI can use commands and send message to the server

Simply type anything in the CLI and type enter

 -a,--autoReconnect          Activate auto reconnect
    --cmd <arg>              Set the command that will be executed when
                             the bot is connected
    --cmdDelay <arg>         Set the delay between command execution
                             (Default=750ms)
 -d,--debug                  Activate debug
 -h,--host <arg>             Setup the host value (Default=127.0.0.1)
    --help                   Show this help page
    --langFile <arg>         Set the translation language for Minecraft
                             Message (Default=en_us.json) (Should be the
                             filename, placed in lang directory at the
                             same level as the jar)
 -p,--port <arg>             Setup the port value (Default=25565)
    --premium                If the user need to be logged through
                             Microsoft Authentication
    --reconnectDelay <arg>   Delay before reconnection
 -s,--status                 Display only the status of the server
 -u,--user <arg>             Email/Username of the user

Termux Guide

This project works great with Termux. You can use the CLI to operate from your phone. Here, is the guide to run this project on Termux.

First-Time Setup

Starting The Bot

Now you can run the MinecraftBOT, see CLI Options

Example: java -jar MinecraftBOT.jar --host play.hypixel.net --autoReconnect --user Notch

Stopping The Bot

There is some method of stopping the bot in Termux:

Dependencies

Documentation

A javadoc is available here

:bulb: Don't forget to put a star on the project to support the project