csgo-log-receiver
The simple SRCDS
log receiver on Node.js
Usage
Connect the package
const CSGOLogReceiver = ; const receiver = host: '0.0.0.0' port: 9871; // Registration of the server from which you want to receive logsreceiver; // Or this wayconst receiver = host: '0.0.0.0' port: 9871 sources: address: '127.0.0.1' port: 27015 password: '12345' ... ;
Receiving the logs
receiver; receiver;
Errors
tooShort: 1 badHeader: 2 invalidPassword: 3 invalidPayload: 4