# mineflayer-auto-totem

> Allows your bot to automatically equip Totems

Latest version **1.3.0** (published 2021-09-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install mineflayer-auto-totem
pnpm add mineflayer-auto-totem
yarn add mineflayer-auto-totem
bun add mineflayer-auto-totem
```

## 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.3.0 |
| Published | 2021-09-03 |
| First published | 2021-08-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 71 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 (+27 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | LabGuy94 |
| Maintainers | labguy94 |

## Links

- npm: https://www.npmjs.com/package/mineflayer-auto-totem
- Repository: https://github.com/LabGuy94/mineflayer-auto-totem
- Homepage: https://github.com/LabGuy94/mineflayer-auto-totem#readme
- Issues: https://github.com/LabGuy94/mineflayer-auto-totem/issues
- npm.io page: https://npm.io/package/mineflayer-auto-totem

## Dependencies (71)

- [ms](https://npm.io/package/ms.md) ^2.1.2
- [ajv](https://npm.io/package/ajv.md) ^6.12.6
- [jwa](https://npm.io/package/jwa.md) ^1.4.1
- [jws](https://npm.io/package/jws.md) ^3.2.2
- [moo](https://npm.io/package/moo.md) ^0.5.1
- [ret](https://npm.io/package/ret.md) ^0.1.15
- [asn1](https://npm.io/package/asn1.md) ^0.2.3
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [vec3](https://npm.io/package/vec3.md) ^0.1.7
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [debug](https://npm.io/package/debug.md) ^4.3.2
- [uint4](https://npm.io/package/uint4.md) ^0.1.2
- [aes-js](https://npm.io/package/aes-js.md) ^3.1.2
- [semver](https://npm.io/package/semver.md) ^5.7.1
- [uri-js](https://npm.io/package/uri-js.md) ^4.4.1
- [nearley](https://npm.io/package/nearley.md) ^2.20.1
- [randexp](https://npm.io/package/randexp.md) ^0.4.6
- [inherits](https://npm.io/package/inherits.md) ^2.0.4
- [node-rsa](https://npm.io/package/node-rsa.md) ^0.4.2
- [protodef](https://npm.io/package/protodef.md) ^1.14.0
- [punycode](https://npm.io/package/punycode.md) ^2.1.1
- [commander](https://npm.io/package/commander.md) ^2.20.3
- [mojangson](https://npm.io/package/mojangson.md) ^2.0.2
- [uuid-1345](https://npm.io/package/uuid-1345.md) ^1.0.2
- [yggdrasil](https://npm.io/package/yggdrasil.md) ^1.6.0
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [macaddress](https://npm.io/package/macaddress.md) ^0.5.2
- [mineflayer](https://npm.io/package/mineflayer.md) ^3.9.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [sprintf-js](https://npm.io/package/sprintf-js.md) ^1.1.2
- [lodash.once](https://npm.io/package/lodash.once.md) ^4.1.1
- [safe-buffer](https://npm.io/package/safe-buffer.md) ^5.2.1
- [buffer-equal](https://npm.io/package/buffer-equal.md) ^1.0.0
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.5.1
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2
- [smart-buffer](https://npm.io/package/smart-buffer.md) ^4.2.0
- [endian-toggle](https://npm.io/package/endian-toggle.md) ^0.0.0
- [lodash.reduce](https://npm.io/package/lodash.reduce.md) ^4.6.0
- [typed-emitter](https://npm.io/package/typed-emitter.md) ^1.3.1
- [minecraft-data](https://npm.io/package/minecraft-data.md) ^2.89.4
- [prismarine-nbt](https://npm.io/package/prismarine-nbt.md) ^1.6.0
- [string_decoder](https://npm.io/package/string_decoder.md) ^1.3.0
- [util-deprecate](https://npm.io/package/util-deprecate.md) ^1.0.2
- [fast-deep-equal](https://npm.io/package/fast-deep-equal.md) ^3.1.3
- [lodash.includes](https://npm.io/package/lodash.includes.md) ^4.3.0
- [lodash.isnumber](https://npm.io/package/lodash.isnumber.md) ^3.0.3
- [lodash.isstring](https://npm.io/package/lodash.isstring.md) ^4.0.1
- [prismarine-chat](https://npm.io/package/prismarine-chat.md) ^1.1.0
- [prismarine-item](https://npm.io/package/prismarine-item.md) ^1.10.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^3.6.0
- [follow-redirects](https://npm.io/package/follow-redirects.md) ^1.14.1
- [lodash.isboolean](https://npm.io/package/lodash.isboolean.md) ^3.0.3
- [lodash.isinteger](https://npm.io/package/lodash.isinteger.md) ^4.0.4
- [prismarine-biome](https://npm.io/package/prismarine-biome.md) ^1.1.1
- [prismarine-block](https://npm.io/package/prismarine-block.md) ^1.10.1
- [prismarine-chunk](https://npm.io/package/prismarine-chunk.md) ^1.24.0
- [prismarine-world](https://npm.io/package/prismarine-world.md) ^3.6.0
- [prismarine-entity](https://npm.io/package/prismarine-entity.md) ^1.2.0
- [prismarine-recipe](https://npm.io/package/prismarine-recipe.md) ^1.1.0
- [railroad-diagrams](https://npm.io/package/railroad-diagrams.md) ^1.0.0
- [minecraft-protocol](https://npm.io/package/minecraft-protocol.md) ^1.25.0
- [prismarine-physics](https://npm.io/package/prismarine-physics.md) ^1.3.0
- [prismarine-windows](https://npm.io/package/prismarine-windows.md) ^2.2.0
- [protodef-validator](https://npm.io/package/protodef-validator.md) ^1.3.1
- [discontinuous-range](https://npm.io/package/discontinuous-range.md) ^1.0.0
- [ecdsa-sig-formatter](https://npm.io/package/ecdsa-sig-formatter.md) ^1.0.11
- [json-schema-traverse](https://npm.io/package/json-schema-traverse.md) ^0.4.1
- [lodash.isplainobject](https://npm.io/package/lodash.isplainobject.md) ^4.0.6
- [minecraft-folder-path](https://npm.io/package/minecraft-folder-path.md) ^1.2.0
- [buffer-equal-constant-time](https://npm.io/package/buffer-equal-constant-time.md) ^1.0.1
- [fast-json-stable-stringify](https://npm.io/package/fast-json-stable-stringify.md) ^2.1.0

## Recent versions

- 1.3.0 (latest) — 2021-09-03
- 1.2.0 — 2021-08-29
- 1.1.0 — 2021-08-20
- 1.0.0 — 2021-08-12

## README

# What is this?

Its a plugin for mineflayer that can be used to make your bot automatically equip totems

# Installation

`npm i mineflayer-auto-totem --save`

# Usage

```js
const mineflayer = require('mineflayer')
const { autototem } = require('mineflayer-auto-totem')

const bot = mineflayer.createBot({
  host: 'localhost', // minecraft server ip
  username: 'bot1', // minecraft username
})

bot.loadPlugin(autototem)

bot.on("physicsTick", async () => {
    bot.autototem.equip()
})
```
![usagegif](https://cdn.discordapp.com/attachments/865897316043718676/875180370612592670/ezgif.com-gif-maker2.gif)

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