UNPKG

@afocommunity/eco-rcon

Version:
37 lines (21 loc) 1.72 kB
# ECO RCON Interface ![npm](https://img.shields.io/npm/dw/@afocommunity/eco-rcon) ![GitHub Sponsors](https://img.shields.io/github/sponsors/bombitmanbomb) [![GitHub issues](https://img.shields.io/github/issues/afocommunity/eco-rcon)](https://github.com/afocommunity/ECO-RCON/issues) ![GitHub](https://img.shields.io/badge/license-MIT-brightgreen) ![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@afocommunity/eco-rcon) [![Codacy grade](https://img.shields.io/codacy/grade/bc777618c71e42fb87caae1c0c970327?logo=codacy)](https://www.codacy.com/gh/afocommunity/ECO-RCON/dashboard?utm_source=github.com&utm_medium=referral&utm_content=afocommunity/ECO-RCON&utm_campaign=Badge_Grade) ![GitHub](https://img.shields.io/badge/node->=16.0.0-brightgreen) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/afocommunity/eco-rcon) ![GitHub package.json version](https://img.shields.io/github/package-json/v/afocommunity/eco-rcon) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/afocommunity/eco-rcon) # Installation NPM ```bash npm install @afocommunity/eco-rcon ``` YARN ```bash yarn add @afocommunity/eco-rcon ``` # Documentation Documentation can be found [HERE](https://afocommunity.github.io/ECO-RCON/modules.html) ![Docs](https://img.shields.io/website?down_color=red&down_message=offline&up_color=brightgreen&up_message=online&url=https%3A%2F%2Fafocommunity.github.io%2FOHD-RCON%2Fmodules.html) # Usage ```ts // Example Usage that bans all players with a given word or phrase in their name. import { ECO } from '@afocommunity/eco-rcon'; const myServer = new ECO('127.0.0.1', 8000, 'mypassword'); ```