Module: addmod

Adds target trip to the config as a mod and upgrades the socket type
Version:
  • 1.0.0
Author:
  • Marzavec ( https://github.com/marzavec )
Source:

Methods

(static) run(env) → {void}

Executes when invoked by a remote client
Parameters:
Name Type Description
env Object Environment object with references to core, server, socket & payload
Source:
Returns:
Type
void

Type Definitions

addmod/info

Module meta information
Type:
  • Object
Properties:
Name Type Description
name string Module command name
category string Module category name
description string Information about module
usage string Information about module usage
Source:

addmod/requiredData

The following payload properties are required to invoke this module: "trip"
Type:
  • Array
Source: