MinecraftBOT
MinecraftBOT copied to clipboard
A simple Minecraft BOT for 1.18.2
MinecraftBOT
Description
Minecraft bot. Currently, used for afk on a Survival Server 😅
Features
- Graphical User Interface
- LogPanel to see errors directly
- Tested with Spigot, Paper 1.18
- Disconnects gracefully after the end
- Free
- Open source
- Command Line Interface
- Online (Microsoft)
- Cracked
- Automatic Respawn
- Auto Reconnect with Delay (Only if
DisconnectEventis throw, and the reason is notDisconnected)
Todos
- Multi Version
Requirements
- Java 8+
- Minecraft Server 1.18
Downloads
https://github.com/alwyn974/MinecraftBOT/releases
Images

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
MC_BOT_HOSTfor the host (String)MC_BOT_PORTfor the port (Integer)MC_BOT_USERNAMEfor the email/username (String)MC_BOT_PREMIUMto specify if the Microsoft Authentication should be used (Boolean)MC_BOT_DEBUGfor the debug mode (Boolean)MC_BOT_PREFIXfor the prefix of the commands (default=.) (String)MC_BOT_AUTO_RECONNECTfor the auto reconnect mode (Boolean)MC_BOT_RECONNECT_DELAYfor the delay before reconnect (Integer)
They are some builtin commands in the bot
difficultyget the difficulty of the serverfoodget the food level of the playerhelpget all the available commands, their description and their usagehealthget the health of the playerlistget the players connected (Sometimes the packet is glitched, you can use the status button go get the players)posget the player positiondisconnectdisconnect 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
-d,--debug Activate debug
-h,--host <arg> Setup the host value (Default=127.0.0.1)
--help Show this help page
-p,--port <arg> Setup the port value (Default=25565)
--premium Activate the 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
- Download and install Termux from here.
- Run
pkg install openjdk-17 curl jq -y - Run ⬇️
curl -o MinecraftBOT.jar -L $(curl -s https://api.github.com/repos/alwyn974/MinecraftBOT/releases/latest | jq -r ".assets[0].browser_download_url")
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:
- Write
.disconnectin the CLI (.is the default prefix for the commands) - See the termux notification bar, and close it
- Force Stop the application (not recommanded)
Dependencies
- Java 8+
- See the build.gradle
Documentation
A javadoc is available here
:bulb: Don't forget to put a star on the project to support the project