JSPM

  • Created
  • Published
  • Downloads 52
  • Score
    100M100P100Q65081F
  • 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 install size License: MIT Tests

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

Usage

import Arcon from 'arcon.js';

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

connection.on('connected', async () => {
  const target = connection.playerManager.resolve(15);
  connection.playerManager.kick(target, 'testing');
});

connection.connect();