1.0.5 • Published 10 years ago

vapor-idler v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

NPM version

Vapor Idler Plugin

Vapor plugin which allows to easily idle in games.

Features

  • Allows to idle multiple games at once
  • Adds extra command

Installation

npm install vapor-idler

Usage

var idler = require('vapor-idler');

// Instantiate Vapor etc.

vapor.use(idler, {
  games: [440, 730],
  autoStart: true
});

Configuration

games (required)

Array of game IDs.

autoStart (optional)

Whether to start automatically right after logging in. Default value: false

Events

message:*

  • message - A message string.

Standard message events to be used with logger.

Commands

CommandDescription
!idleEnable or disable the idling process. Available only to admins.

License

MIT. See LICENSE.

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago