03ae3b5822
reintroduce throttling for servers that are unreachable (defaults to 60 seconds between polls) small revert to the RektT5M parser contell -> tell add migration to introduce gamename to server impllement quickmessage mapping
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
var rconParser;
|
|
var eventParser;
|
|
|
|
var plugin = {
|
|
author: 'RaidMax',
|
|
version: 0.1,
|
|
name: 'RektT5m Parser',
|
|
isParser: true,
|
|
|
|
onEventAsync: function (gameEvent, server) {
|
|
},
|
|
|
|
onLoadAsync: function (manager) {
|
|
rconParser = manager.GenerateDynamicRConParser();
|
|
eventParser = manager.GenerateDynamicEventParser();
|
|
|
|
eventParser.Configuration.GameDirectory = 'data';
|
|
|
|
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff\1print';
|
|
rconParser.Configuration.CommandPrefixes.Tell = 'tell {0} {1}';
|
|
rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined;
|
|
|
|
rconParser.Version = 'Call of Duty Multiplayer - Ship COD_T5_S MP build 7.0.189 CL(1022875) CODPCAB-V64 CEG Wed Nov 02 18:02:23 2011 win-x86';
|
|
rconParser.GameName = 6; // T5
|
|
eventParser.Version = 'Call of Duty Multiplayer - Ship COD_T5_S MP build 7.0.189 CL(1022875) CODPCAB-V64 CEG Wed Nov 02 18:02:23 2011 win-x86';
|
|
eventParser.GameName = 6; // T5
|
|
},
|
|
|
|
onUnloadAsync: function () {
|
|
},
|
|
|
|
onTickAsync: function (server) {
|
|
}
|
|
}; |