Skip to content
/ srcdslog Public

node.js module for parsing Source Dedicated Server logs

Notifications You must be signed in to change notification settings

JaniL/srcdslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

srcdslog

Srcdslog is node.js module for parsing srcds's logs.

Be warned, this is far from ready.

Usage

var srcdslog = require('./lib/srcdslog.js');

srcdslog.parseLine('L 11/23/2011 - 14:30:01: "Jarppa!<4><STEAM_0:0:17784529><Blue>' say "asd"",function(info) {
  console.log(info);
});

Result:

{ type: 'say',
  player:
   { name: 'Jarppa!',
     id: 4,
     steamid: 'STEAM_0:0:17784529',
     team: 'Blue' },
  text: 'fasd' }

Somes lines aren't recognized by srcdslog yet.

About

node.js module for parsing Source Dedicated Server logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published