# @morisok31/mcbot

> To start using the bot you have to do:

Latest version **1.0.0** (published 2023-10-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install @morisok31/mcbot
pnpm add @morisok31/mcbot
yarn add @morisok31/mcbot
bun add @morisok31/mcbot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-10-19 |
| First published | 2023-10-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 22 |
| Unpacked size | 36.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | morisok31 |

## Links

- npm: https://www.npmjs.com/package/@morisok31/mcbot
- npm.io page: https://npm.io/package/@morisok31/mcbot

## Dependencies (22)

- [figlet](https://npm.io/package/figlet.md) ^1.6.0
- [mineflayer](https://npm.io/package/mineflayer.md) ^4.14.0
- [@tonejs/midi](https://npm.io/package/@tonejs/midi.md) ^2.0.28
- [minecraft-data](https://npm.io/package/minecraft-data.md) ^3.45.0
- [mineflayer-pvp](https://npm.io/package/mineflayer-pvp.md) ^1.3.2
- [mineflayer-tps](https://npm.io/package/mineflayer-tps.md) ^1.0.1
- [mineflayer-tool](https://npm.io/package/mineflayer-tool.md) ^1.2.0
- [prismarine-item](https://npm.io/package/prismarine-item.md) ^1.14.0
- [@icetank/mcproxy](https://npm.io/package/@icetank/mcproxy.md) ^1.0.4
- [mineflayer-radar](https://npm.io/package/mineflayer-radar.md) ^0.0.2
- [prismarine-viewer](https://npm.io/package/prismarine-viewer.md) ^1.25.0
- [prismarine-windows](https://npm.io/package/prismarine-windows.md) ^2.8.0
- [mineflayer-auto-eat](https://npm.io/package/mineflayer-auto-eat.md) ^3.3.6
- [mineflayer-spectator](https://npm.io/package/mineflayer-spectator.md) ^0.0.2
- [mineflayer-auto-totem](https://npm.io/package/mineflayer-auto-totem.md) ^1.3.0
- [mineflayer-pathfinder](https://npm.io/package/mineflayer-pathfinder.md) ^2.4.5
- [mineflayer-collectblock](https://npm.io/package/mineflayer-collectblock.md) ^1.4.1
- [minecraft-protocol-forge](https://npm.io/package/minecraft-protocol-forge.md) ^1.0.0
- [mineflayer-armor-manager](https://npm.io/package/mineflayer-armor-manager.md) ^2.0.1
- [mineflayer-web-inventory](https://npm.io/package/mineflayer-web-inventory.md) ^1.3.0
- [@nxg-org/mineflayer-custom-pvp](https://npm.io/package/@nxg-org/mineflayer-custom-pvp.md) ^1.7.2
- [mineflayer-antiafk-noblockbreak](https://npm.io/package/mineflayer-antiafk-noblockbreak.md) ^1.0.2

## Recent versions

- 1.0.0 (latest) — 2023-10-19

## README

# How to use the bot?

To start using the bot you have to do:

```
node index.js <host> <port> <[username]> <[password]> <version>
```

If you don't know what port the server uses, you can use this website. Also the `<[username]>` and `<[password]>` fields are fully optional, you only use the `<[password]>` if you have an actual Minecraft account, and the `<[username]>` is there to determine what username you want the bot to have. If you use a "premium" Minecraft then it has to be a valid Minecraft account username, but if you do not, then you can use any username you want.

At first, it might seem hard and confusing, but you will get used to it! Once you know all the commands, you can start accually using the bot.

# How to reinstall the packets?

To reinstall the packets you have to first delete the following:

```
node_modules folder (if applicable)
package.json file
package-lock.json file
```

After you have done that, you can run the `reinstallpackets.bat` file if you are on Windows. I'm sorry for all the Mac users, you have to follow [this](https://techanzone.com/how-to-run-bat-file-on-mac/) tutorial.

If you want some more detailed instructions, you can click this link to the full [README.md](https://github.com/morisok31/multi-purpose-mineflayer-bot) file.

---
_Source: https://npm.io/package/@morisok31/mcbot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
