The 10th and 11th versions of my Minecraft bot.
Find a file
2024-09-20 00:07:38 -04:00
commands Merge branch '10_0_0-beta_2' of code.chipmunk.land:7cc5c4f330d47060/botvX into 10_0_0-beta_2 2024-08-18 13:38:49 -04:00
plugins Merge branch '10_0_0-beta_2' of code.chipmunk.land:7cc5c4f330d47060/botvX into 10_0_0-beta_2 2024-08-18 13:38:49 -04:00
util Lint 2024-08-18 13:38:09 -04:00
.gitignore This better not say 0 commits 2024-08-12 04:33:43 -04:00
index.js This better not say 0 commits 2024-08-12 04:33:43 -04:00
launch.cmd This better not say 0 commits 2024-08-12 04:33:43 -04:00
launch.sh This better not say 0 commits 2024-08-12 04:33:43 -04:00
LICENSE This better not say 0 commits 2024-08-12 04:33:43 -04:00
package-lock.json Update packages (this better not still say 1 commit) 2024-08-12 04:46:54 -04:00
package.json This better not say 0 commits 2024-08-12 04:33:43 -04:00
README.md Backport README update to beta 2 branch 2024-09-20 00:07:38 -04:00
secret_example.json This better not say 0 commits 2024-08-12 04:33:43 -04:00
settings_example.json This better not say 0 commits 2024-08-12 04:33:43 -04:00
version.json Update version.json 2024-08-12 20:34:55 -04:00

botvX

What is it?

botvX is a Minecraft bot for Kaboom and its clones. It has many of the features that you would expect in a modern Kaboom bot:

  • commands (obviously)
  • a self care system
  • a command core, to run commands quickly
  • a hashing system, to enable trusted users to securely run certain commands in chat

If you are not sure if this code is safe to run, you can read through every line of code. You can also see the commit history by clicking on the (n) commits button, to make sure nobody added any exploits to the code.

If you find any exploits, security issues, etc in the code, please send me an issue or pull request and I will try to respond to it whenever I see it.

What does "botvX" mean?

"botvX" means "bot version 10". The v is used to signify that whatever after it is a version, as was done with previous versions (botv4, botv6, botv8, botv9), and the X is the Roman numeral for 10, since this is the 10th major version.

How to install?

  1. Install Node.js for your operating system.
  2. Download the latest release, or alternatively, download the latest development version using git clone https://code.chipmunk.land/7cc5c4f330d47060/botvX/.
  3. Extract the files if necessary.
  4. Run npm install in the bot's directory. If it doesn't work, try using the Node.js command prompt, or adding Node.js to your PATH.
  5. Copy settings_example.json to settings.json , and adjust the settings to fit your needs. Do not forget to also create a secrets file. An example secrets file is provided as secret_example.json. Do not forget, if you use the secrets template, to change the keys (the ones in there are public after all!).
  6. Run ./launch.sh (macOS, Linux, FreeBSD) or ./launch.cmd (Windows) to start a bot launcher, which will reload the bot when the process closes. Alternatively, you can run node index.js to start the bot only once (it will still rejoin when kicked). If it displays an error saying Node is not a command, please make sure Node.js is on your PATH.

Command list

Name Usage Description
about About the bot
cb <command> Run a command in a command block
cloop add , remove , list, clear Manage command loops
eval <code> Run JavaScript code (must run through console)
help [cmd] Shows command help
logoff Disconnect and reconnect the bot from a server
netmsg <message> Send a message to all servers the bot is connected to
refill Refill core
say <message> Sends a message to chat
serverinfo Get system/bot info, similar to Kaboom's serverinfo command
stop Restart bot
template Used in development, does nothing
tpr Teleport to a random location
verify Check the hashing system