JSPM

  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q65195F
  • License MIT

An RCON client library for Arma III

Package Exports

  • arcon.js
  • arcon.js/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (arcon.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ARCON.js npm version

ARCON.js is a lightweight RCON client for Arma III servers.

Installation

ARCON.js can be installed via npm using npm install arcon.js

Usage

import arcon from 'arcon.js';

const connection = new arcon({
  ip: '127.0.0.1',
  port: 2312,
  password: '12345'
});

connection.on('connected', async () => {
  await connection.commands.players();
  await connection.commands.sayGlobal('RCON is working!');
});

connection.connect();