# mineflayer-tps

> A mineflayer plugin to get server tps

Latest version **1.0.1** (published 2020-05-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install mineflayer-tps
pnpm add mineflayer-tps
yarn add mineflayer-tps
bun add mineflayer-tps
```

## 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.1 |
| Published | 2020-05-12 |
| First published | 2019-10-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | SiebeDW |
| Maintainers | siebedw |
| Keywords | mineflayer |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2020-05-12
- 1.0.0 — 2019-10-27

## README

# mineflayer-tps

A mineflayer plugin to easy get the server tps!

## Usage

Look at [this](https://github.com/SiebeDW/mineflayer-tps/blob/master/examples/gettps.js).

Or simple:
```js
var mineflayer = require('mineflayer')
var tpsPlugin = require('mineflayer-tps')(mineflayer)

var bot = mineflayer.createBot()

bot.loadPlugin(tpsPlugin) // Load the plugin

// Example how to use
bot.on('chat', (username, message) => {
  if (username === bot.username) return
  if (message === 'tps') {
    bot.chat('Current tps: ' + bot.getTps())
  }
})

```

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