1.1.4 • Published 11 months ago

acserver-plugin v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

acServer-plugin-js

A node.js wrapper that enables people to make Assetto Corsa multiplayer server plugin easily.

Key Features

  • Support for all the features available in official C# example

Installing

> npm install --save acserver-plugin

Quick Example

const server = require('acserver-plugin');
const app = new server.PluginApp();

app.on(server.PROTOCOLS.NEW_SESSION, (data) => {
    console.log('New Session');
    console.log(data);
});

app.on(server.PROTOCOLS.CHAT, (data) => {
    app.getCarInfo(data[0]);
    if (data[1] === '!kick me') {
        app.kick(data[0]);
    }
});

app.on(server.PROTOCOLS.CAR_INFO, (data) => {
    console.log(data);
})

app.run(12001);

More Description

License

This project is licensed under the MIT License.

Links

1.1.4

11 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago