1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

add default port and rcon password hint during setup

This commit is contained in:
RaidMax
2021-11-14 21:38:00 -06:00
parent 584f2667a0
commit 0a95e725f4
19 changed files with 232 additions and 47 deletions

View File

@ -3,7 +3,7 @@ var eventParser;
var plugin = {
author: 'Xerxes, RaidMax, st0rm',
version: 0.3,
version: 0.4,
name: 'IW6x Parser',
isParser: true,
@ -24,6 +24,7 @@ var plugin = {
rconParser.Configuration.Status.Pattern = '^ *([0-9]+) +-?([0-9]+) +(Yes|No) +((?:[A-Z]+|[0-9]+)) +((?:[a-z]|[0-9]){8,32}|(?:[a-z]|[0-9]){8,32}|bot[0-9]+|(?:[0-9]+)) *(.{0,32}) +(\\d+\\.\\d+\\.\\d+.\\d+\\:-*\\d{1,5}|0+.0+:-*\\d{1,5}|loopback|unknown|bot) +(-*[0-9]+) *$';
rconParser.Configuration.StatusHeader.Pattern = 'num +score +bot +ping +guid +name +address +qport *';
rconParser.Configuration.WaitForResponse = false;
rconParser.Configuration.DefaultRConPort = 28960;
rconParser.Configuration.Status.AddMapping(102, 4);
rconParser.Configuration.Status.AddMapping(103, 5);
rconParser.Configuration.Status.AddMapping(104, 6);