A simple Minecraft BOT for 1.17.1

Overview

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.17.1
  • Disconnects gracefully after the end
  • Free
  • Open source
  • Command Line Interface
  • Online (Mojang)
  • Cracked
  • Automatic Respawn
  • Auto Reconnect with Delay (Only if DisconnectEvent is throw, and the reason is not Disconnected)

Todos

  • Multi Version

Requirements

  • Java 8+
  • Minecraft Server 1.17.1

Downloads

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

Images

Gui

For cracked account, just type the username in Email field

Tips

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

  • MC_BOT_HOST for the host
  • MC_BOT_PORT for the port
  • MC_BOT_USERNAME for the email/username
  • MC_BOT_PASSWORD for the password
  • MC_BOT_DEBUG for the debug mode
  • MC_BOT_PREFIX for the prefix of the commands (default=.)
  • MC_BOT_AUTO_RECONNECT for the auto reconnect mode
  • MC_BOT_RECONNECT_DELAY for the delay before reconnect

They are some builtin commands in the bot

  • difficulty get the difficulty of the server
  • food get the food level of the player
  • help get all the disponible commands, their description and their usage
  • health get the health of the player
  • list get the players connected (Sometimes the packet is glitched, you can use the status button go get the players)
  • pos get the player position

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)
    --password <arg>         Password of the user
    --reconnectDelay <arg>   Delay before reconnection
 -s,--status                 Display only the status of the server
 -u,--user <arg>             Email/Username of the user

Dependencies

Documentation

A javadoc is disponible here

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

Comments
  • [BUG]: Failed to translate message

    [BUG]: Failed to translate message

    Describe the bug Don't return message from chat.

    To Reproduce Run Paper 1.19.2, Protocol Version: 757 Join with GUI Send message in chat.

    Expected behavior Return in GUI message from chat.

    Logs [2022-12-29 15:25:45] [INFO] [MinecraftBOT] Failed to translate message: TranslatableComponentImpl{key="chat.type.text", args=[TextComponentImpl{content="SAN5_SkeLet0n", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}, TextComponentImpl{content="hello", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}], style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}

    Informations:

    • OS: Linux
    • Java Version: openjdk 17.0.5
    • Minecraft BOT Version: latest
    • The interface you use: GUI
    • Account Type: Cracked
    • Server Host and Port: nevermindip.me
    :bug: bug :white_check_mark: fixed 
    opened by Justuser3310 6
  • Suggestion: Reconnect Delay

    Suggestion: Reconnect Delay

    I have an afk bot on my server but if he get kicked for afk and he cant connect 2 times in a row server refuses connection with "Connection throtted! Please wait before reconnecting"

    :sparkles: feature ➕ added 
    opened by ROBGUI09 3
  • throw com.google.gson.JsonParseException: Don't know how to turn null into a Component

    throw com.google.gson.JsonParseException: Don't know how to turn null into a Component

    Cannot connect to a Purpur server because of a exception.

    [2021-07-24 07:20:15] [INFO] [MinecraftBOT] Disconnected: io.netty.handler.codec.DecoderException: com.google.gson.JsonParseException: Don't know how to turn null into a Component

    :bug: bug :no_entry: wontfix 
    opened by Nanboom233 3
  • Wont start

    Wont start

    Hi, im using java 11 and when i start the MinecraftBOT-1.0.8-all.jar it wont start i get following output :

    pi@raspberrypi:~/mcBot $ java -jar MinecraftBOT-1.0.8-all.jar [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: list [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: help [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: difficulty [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: health [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: food [2021-07-04 19:07:12] [INFO] [MinecraftBOT] Register command: pos pi@raspberrypi:~/mcBot $

    Thats it. What am i doing wrong?

    :sparkles: feature ➕ added 
    opened by LordFortyTwo 3
  • [BUG]: content=

    [BUG]: content="Outdated client! Please use 1.18.2"

    Describe the bug After the bot received the authorization and ready to connect the server 127.0.0.1 for test, it gave the error and it seemed that it didn't be set correctly. I used the latest "-all" package.

    Screenshots image

    Logs [2022-12-28 15:10:46] [DEBUG] [MinecraftBOT] Authentication is pending, waiting for user to authenticate... [2022-12-28 15:10:55] [DEBUG] [MinecraftBOT] Successfully authenticated [Because66666] [2022-12-28 15:10:55] [DEBUG] [MinecraftBOT] Connecting to Minecraft server: 127.0.0.1:25565 [2022-12-28 15:10:55] [INFO] [MinecraftBOT] Disconnected: TextComponentImpl{content="", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[TextComponentImpl{content="Outdated client! Please use 1.18.2", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}]}

    Informations (please complete the following information):

    • OS: windows 11
    • Java Version: 8 and 16
    • Minecraft BOT Version: [1.0.14 latest, the package you released on Aug 7,2022]
    • The interface you use: [e.g. GUI]
    • Account Type: [e.g. Microsoft]
    • Server Host and Port: [e.g. 127.0.0.1:25565]

    Additional context I think there must something wrong with my usage, and I hope someone could help me to deal with it. Thank you very much.

    :bug: bug 
    opened by Because66666 2
  • Can you make it useful to 1.17.1?

    Can you make it useful to 1.17.1?

    It's nice program but it seems it can't connect to 1.17.1 servers. So please can you make it to be useful to 1.17.1 servers?

    [2021-07-17 22:35:52] [INFO] [MinecraftBOT] Starting MinecraftBOT...

    [2021-07-17 22:43:52] [INFO] [MinecraftBOT] Disconnected: TranslatableComponentImpl{key="Outdated server! I'm still on 1.17.1", args=[], style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}

    [2021-07-17 22:43:52] [INFO] [MinecraftBOT] Version: Spigot 1.17.1, Protocol Version: 756

    [2021-07-17 22:43:52] [INFO] [MinecraftBOT] Player Count: 1000/1000

    [2021-07-17 22:43:52] [INFO] [MinecraftBOT] Players: [§c§lANMotd §r§f§lInfo, §7§m----------, , §b§lOnline: §r§f§l%Online%, §b§lMaxPlayers: §r§f§l30, , §6Donate: §7§l§ourcratf.cn, , §fHave any §6questions§f?, Feel free to §6ask§f me on spigot!, , §7§m----------]

    :sparkles: feature ➕ added 
    opened by Nanboom233 2
  • CHAT

    CHAT

    If someone says contains % content, the BOT will disconnect

    Then an error: "Disconnected: Java. Util. UnknownFormatConversionException: Conversion = '%'

    java.util.UnknownFormatConversionException: Conversion = '%'" image

    :bug: bug :white_check_mark: fixed 
    opened by MotWnb 1
Releases(v1.0.16)
Owner
Alwyn974
Étudiant à Epitech Réunion de 19 ans | Développeur Java à ses heures perdues
Alwyn974
A simple and scalable Android bot emulation framework, as presented at Black Hat Europe 2021's Arsenal, as well as atHack 2021's Arsenal

m3 A simple and scalable Android bot emulation framework. A detailed explanation can be found here. This project was first published at Black Hat Euro

null 22 Aug 20, 2022
Bot de Telegram que informa del precio del combustible en las gasolineras más próximas a tu ubicación

Telegram BOT Bot de Telegram en JAVA y SQLite. Sirve para consultar los precios de las gasolineras más cercanas a tu ubicación. Los datos son proceden

null 6 Jan 12, 2022
Create your Java crypto trading bot in minutes. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions so you can focus on building your strategies.

Quick Start | Documentation | Discord | Twitter Create and run your java crypto trading bot in minutes Our Spring boot starter takes care of exchange

Cassandre 442 Jan 3, 2023
RTX 30XX Bot für notebooksbilliger.de

nbbot ist ein Bot, um RTX Grafikkarten bei notebooksbilliger.de zum UVP (Normalpreis) zu ergattern. notebooksbilliger.de hat die exklusive Partnerscha

null 8 Nov 26, 2022
TrashEmail is hosted Telegram bot that can save your private email address by offering disposable email address

TrashEmail is hosted Telegram bot that can save your private email address by offering disposable email address. It can create, manage, disposable email address and link them with your telegram bot chat.

Rohit Sehgal 493 Dec 28, 2022
Multifunctional bot with moderation, information and utilities commands.

Module Multifunctional bot with moderation, information and utilities commands. Invite, Server. Technologies Java Spring JDA JDA-Chewtils PostgreSQL L

Headcrab 0 Dec 2, 2022
An open source Discord Bot made in Java!

ShiShi An open source Java Discord bot Report Bug . Request Feature About The Project This is a open source Java discord bot making use of the JDA lib

kb 2 Aug 5, 2022
Stoibot is a JAVA based bot to tweet every day a quote from a stoic author

Stoibot is a JAVA based bot to tweet every day a quote from a stoic author. The target of the bot is create a simple mysql and java based system to test some libraries and the mysql driver.

Julián Campos 2 Feb 21, 2022
This is some Discord bot I made to help me learn Java. Not very useful yet.

JennyChan This is some Discord bot I made to help me learn Java. Not very useful yet. What it can do so far: Reply to mention List commands Show bot u

null 0 Sep 1, 2022
A useful Discord Bot for you!

kottbot A useful Discord Bot for you! Installation Download the build. Put it on your local or root server Execute this command to start the Bot: java

Jannis Wollschläger 1 Jan 24, 2022
paste bot for discord. Choose between multiple paste services.

WriterBot Description A simple paste bot written in java. This bot uploads all kinds of text files sent in the channels to https://paste.gg and provid

Dibyajyoti Dey 5 Aug 27, 2022
A Java Discord Bot Base that supports Slash Commands!

Nyjava Nyjava is a discord bot base that supports ?? Discord Slash Commands! ?? I'll see where I go with this, I might update it, I might not. Time wi

Alexandros 8 Nov 19, 2022
Discord Bot with many useful utilities!

Utility Discord Bot Discord Bot with many utilities like base64/hex de-/encode and string hashing Invite the bot Does need manage role perms. Its requ

ReisMiner 4 Dec 14, 2022
NeoBotCore is an extensible Discord Bot created using Java.

NeoBotCore A NeoBotCore is an implementation of the NeoBotAPI. NeoBot is an extensible Discord Bot developed using Java. By combining modules, you can

null 3 Jun 22, 2022
An advanced, multi-purpose Discord bot

TechnoBot An advanced, multi-purpose bot for Discord Explore this project » Visit Wiki · Report Bug · Request Feature Table of Contents About The Proj

Thomas 13 Dec 28, 2022
NFT sales tracking on the secondary market, on the Songbird network and notification via a Discord bot

SgbNftMarketDiscordBot Fork this project for any other chain using Ethereum Virtual Machine (EVM) like ETH, FLR, BSC etc If you like the project or fi

null 4 Jan 9, 2023
Simple Minecraft mod that makes it easy to put horses in boats.

HorseInBoat What does this mod do? This mod makes it much easier to put horses into boats. This mod also changes the hitbox of horses in boats, this i

null 8 Dec 20, 2022
Simple Minecraft Tab Completer Manager

BrigadierManager Simple and light open-source plugin to manage the Minecraft tab completer commands. Usage: /brigadier <option> [command] Option Descr

carlodrift 0 Dec 15, 2022
A simple and lightweight Minecraft GUI API for developers to use.

Current Version: 1.0.0 Requirements: - You must be using PaperMC or a fork of it (This will not work with just Spigot/Bukkit! - Curently this API only

Sammy Aknan 2 May 14, 2022