No description
- TypeScript 87%
- JavaScript 9.8%
- CSS 1.8%
- HTML 1.3%
| chatParsers | ||
| commands | ||
| lang | ||
| plugins | ||
| util | ||
| .gitignore | ||
| eslint.config.mjs | ||
| index.ts | ||
| launch.cmd | ||
| launch.sh | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| settings_example.js | ||
| tsconfig.json | ||
| version.ts | ||
botv12
botv12 is a Minecraft bot originally designed for Kaboom and its clones.
It supports all Minecraft server versions from 1.20 to 1.21.11 that are supported by node-minecraft-protocol. It is primarily developed using Kaboom or clones, but it should work on other servers with reduced functionality.
How to install?
- Install Node.js for your operating system.
- Download the latest release, or alternatively, download the latest development version using the latest source archive or running the command
git clone https://codeberg.org/7cc5c4f330d47060/botv12with Git installed. - Extract the files if necessary.
- Run
npm installin the bot's directory. If it doesn't work, try using the Node.js command prompt, or adding Node.js to your PATH. - Copy the reference configuration (
settings_example.jsin the root) tosettings.js, and adjust the settings to fit your needs. The secrets are also contained in this file as well. - (Optional) If you plan to use a database with the bot, set
dbEnabledinsettings.jsto true and fill in the appropriate fields. Currently, MySQL, MariaDB and SQLite are supported, with more to come. - Compile the TypeScript code to JavaScript by running
npx tsc. If it displays an error sayingnpxis not a command, please make sure Node.js is on your PATH. - 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 dist/index.jsto start the bot only once (it will still rejoin when kicked).
License
Copyright © 2020-2026 7cc5c4f330d47060. This project is free software licensed under the GNU Affero General Public License, version 3 or later. Using, modifying, and distributing this code is allowed, even for commercial purposes. If you make any copies of this software, you must link back to this repository. If you make any changes to the software, you must make your changes free as well. See the License file for the full terms and conditions.