mc-bots icon indicating copy to clipboard operation
mc-bots copied to clipboard

How to use

Open daddymcmah opened this issue 2 years ago • 3 comments

hi I know this is a pretty stupid question but how do you use this? is there a guide or tutorial im missing?

daddymcmah avatar Apr 02 '22 17:04 daddymcmah

Hello,

this is a so-called CLI (command line interface) application. It has no GUI (graphical user interface). You have to run it in command prompt on Windows.

Assuming you are using Windows and you have Java installed, you can do the following:

  • Download the latest release jar file
  • Go to the download file location (usually Downloads folder) using Windows file explorer
  • Click in the file location bar, type cmd and press enter - this should open Windows command prompt in the location
  • Type the command to start the jar file. The basic usage is written here.

Write java -jar mc-bots-1.2.0.jar -s ADDRESS:PORT, where the mc-bots-1.2.0.jar is the jar file name, ADDRESS is the Minecraft server IP or domain and PORT is the port of the server (usually 25565). You can add options to the app listed here. So it can look for example like this: java -jar mc-bots-1.2.0.jar -s 192.168.0.189:25565 -d 10 11 -r -p BOT_ -c 30 Then press enter to start the app, and use Ctrl+C to exit the app.

Here I found a tutorial how to run a jar file in command prompt: https://www.youtube.com/watch?v=MhwX8_ohOD8

crpmax avatar Apr 03 '22 12:04 crpmax

Is there a version that works for server version 1.12?

ZekePolarisBSH avatar May 20 '22 23:05 ZekePolarisBSH

Hello, I am afraid there is not. The library I use is made for each exact version of the game and does not support multiple versions at once. I think it would be possible to compile my app with the 1.12 version of the library, but it would require rewriting the code. In the future, I plan to make my own library which would support multiple versions.

You can use alternative app like: LambdaAttack

crpmax avatar May 28 '22 08:05 crpmax