1.1.1 • Published 1 year ago

squadclient v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Squad

Squad Client

The module enables you to easily perform certain actions by connecting to the game console through your Squad game server using RCON.

Installation

  npm install squadclient
  yarn add squadclient
  pnpm add squadclient

Features

  • Custom-designed RCON infrastructure.
  • Obtaining player, team, server, and squad information quickly and easily.
  • Using promises for asynchronous operations.

Docs

Follow our documention for more information.

Usage / Examples

import { SquadClient } from 'squadclient';
// For CommonJS -> const { SquadClient } = require('squadclient');

const client = new SquadClient({ host: 'serverIp', port: rconPort, password: 'rconPassword' });

(async () => {
    await client.connect();

    const info = await client.getServerInfo();

    console.log(info);

    client.on('squadCreate', (squad) => {
        console.log('A squad has been created!', `Squad Name: ${squad.squadName} | Team Name: ${squad.teamName}`);
    });
})();

License

This project is licensed under the MIT License.

Authors

zédyN (Github - Discord)

Support

For support, DM me on Discord or create a ticket in discord.gg/luppux

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago