Skip to content

scholtzm/vapor-idler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Command Description
!idle Enable or disable the idling process. Available only to admins.

License

MIT. See LICENSE.

About

Vapor plugin which allows to easily idle in games.

Resources

License

Stars

Watchers

Forks

Packages