make notice line separator configurable for different parsers

(updated tekno's as it doesn't support \n)
This commit is contained in:
RaidMax
2020-11-19 20:48:25 -06:00
parent d58b24b5b2
commit 8ef2959f63
5 changed files with 47 additions and 10 deletions

View File

@ -3,7 +3,7 @@ var eventParser;
var plugin = {
author: 'RaidMax',
version: 0.7,
version: 0.8,
name: 'Tekno MW3 Parser',
isParser: true,
@ -27,6 +27,7 @@ var plugin = {
rconParser.Configuration.CommandPrefixes.TempBan = 'tempbanclient {0} "{1}"';
rconParser.Configuration.Dvar.AddMapping(107, 1); // RCon DvarValue
rconParser.Configuration.Dvar.Pattern = '^(.*)$';
rconParser.Configuration.NoticeLineSeparator = '. ';
rconParser.Configuration.DefaultDvarValues.Add('sv_running', '1');
rconParser.Configuration.OverrideDvarNameMapping.Add('_website', 'sv_clanWebsite');