Skip to content

A NodeCG bundle that connects to LiveSplit using LiveSplit.Sever

License

Notifications You must be signed in to change notification settings

EwanLyon/nodecg-livesplit

Repository files navigation

NodeCG-LiveSplit

screenshot

NodeCG-LiveSplit is a NodeCG bundle allows you to connect, send and recieve data using LiveSplit.Server.

Requirements

Installation

  1. Clone (or download & extract) to nodecg/bundles/nodecg-livesplit.
  2. Install bower if you have not already (npm install -g bower)
  3. cd nodecg/bundles/nodecg-livesplit and run npm install, then bower install
  4. Run the nodecg server: node index.js (or nodecg start if you have nodecg-cli installed) from the nodecg root directory.

Commands

There are two commands.

  • livesplit:sendAction This is for commands that do not return data
  • livesplit:sendData This is for commands that respond with data.

The actual commands to send to LiveSplit are documented here.

Usage

Send Action

nodecg.sendMessageToBundle('livesplit:sendAction', 'nodecg-livesplit', 'starttimer');

Send Data

nodecg.sendMessageToBundle('livesplit:sendData', 'nodecg-livesplit', 'getsplitindex', (result) => {
	console.log(result);
});

Example Bundle

Coming soon :)

About

A NodeCG bundle that connects to LiveSplit using LiveSplit.Sever

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published