The 10th and 11th versions of my Minecraft bot.
Find a file
2024-10-12 01:35:09 -04:00
commands Remove bot.prefix 2024-10-12 01:35:09 -04:00
lang Add local hiding of server IPs in the server command 2024-10-03 15:05:22 -04:00
plugins Remove bot.prefix 2024-10-12 01:35:09 -04:00
util Make all usernames appear as zero-length 2024-10-12 01:19:36 -04:00
.gitignore Add this to gitignore 2024-08-15 12:53:41 -04:00
index.js Update version bypass warning 2024-09-22 23:50:13 -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 2024-09-14 12:50:39 -04:00
package.json Bump version 2024-09-14 12:48:13 -04:00
README.md Change minimum version to 1.13 and make it configurable 2024-09-22 23:45:18 -04:00
secret_example.json Change file permissions to 755 2024-09-12 00:53:24 -04:00
settings_example.json Remove settings location from example settings 2024-08-25 21:32:59 -04:00
version.json Provisional rebrand back to UBot 2024-10-12 01:07:38 -04:00

owobot

owobot 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.20.4 that are supported by node-minecraft-protocol.

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/owobot.
  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 secret_example.json to secret.json, and adjust the settings to fit your needs. Change the example keys in secret.json 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.
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
restart Restart bot, closes when launched directly
say <message> Sends a message to chat
settings get, set Set your user preferences
stop Close bot
template Used in development, does nothing
test Debug command for the chat parser
tpr Teleport to a random location
validate Check the hashing system