ECMAScript rewrite of owobot11, a Minecraft bot for the Kaboom server and clones
Find a file
2024-12-03 00:33:30 -05:00
chatParsers Lint again 2024-11-19 20:10:10 -05:00
commands Add logging for the eval command (the results of it too) 2024-12-03 00:33:30 -05:00
lang Add extra colors to the test command 2024-11-20 01:43:12 -05:00
plugins Change checkLog interval 2024-11-20 01:55:10 -05:00
util Update readme, remove unused files 2024-11-20 01:48:28 -05:00
.gitignore Rename the settings file to JS 2024-11-19 19:47:14 -05:00
index.js Lint 2024-11-19 20:05:19 -05:00
launch.cmd uwu 2024-10-20 14:22:22 -04:00
launch.sh uwu 2024-10-20 14:22:22 -04:00
LICENSE uwu 2024-10-20 14:22:22 -04:00
package-lock.json Update packages 2024-11-20 02:10:05 -05:00
package.json Update packages 2024-11-20 02:10:05 -05:00
README.md Update readme, remove unused files 2024-11-20 01:48:28 -05:00
settings_example.js Update example settings comment 2024-11-20 01:53:41 -05:00
version.js Update the comment 2024-11-20 02:15:07 -05:00

botv12

botv12 is a Minecraft bot originally designed 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

It supports all Minecraft versions from 1.13 to 1.21.1 that are supported by node-minecraft-protocol. It may work on other versions, however, support will not be provided for them.

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 has added any exploits or introduced vulnerabilities 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 as soon as possible.

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/botv12.
  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 the reference configuration (settings_example.js in the root) to settings.js, and adjust the settings to fit your needs. The secrets are also contained in this file as well.
  6. Run ./launch.sh (macOS, Linux, FreeBSD) or ./launch.cmd (Windows). This will start a bot launcher, which will restart 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 [serverlist | servers | server] About the bot. May also show system information or a list of connected servers.
test Debug command for the chat parser