1.4.0 • Published 4 years ago
@faceit/nodejs-server-plugin v1.4.0
NodeJS Server Plugin
Plugin features
The FACEIT nodejs-server-plugin
implements the following key features.
- Game Server registration on the FACEIT Cloud
- FACEIT Match Lifecycle
- Wrap all inbound and outbound calls to the FACEIT Games API and FACEIT Cloud services
- Receive Match Configuration
- Provide methods to send FACEIT events for match updates
- Allow a FACEIT match to be configured on the Game Server and run with full integration with FACEIT
- FACEIT Anticheat (optional)
- Wrap communication with FACEIT Anticheat
Installation
In order to add the NodeJs Server Plugin to your project simply run the following:
npm install @faceit/nodejs-server-plugin
Development
Prerequisites
Setting up
Install the dependencies and set up the server plugin
$ npm install
Commands
npm run test
Run all tests. Jest is used internally.
npm run prettier
Format all files with the extension .ts
.
npm run lint
Lint all TS files. ESLint is used internally.
npm run build
Create a build of the server plugin in a dist
directory.