2019-04-21 17:28:13 -04:00
|
|
|
var rconParser;
|
|
|
|
var eventParser;
|
|
|
|
|
|
|
|
var plugin = {
|
|
|
|
author: 'RaidMax',
|
2020-10-31 10:18:37 -04:00
|
|
|
version: 0.3,
|
2019-04-21 17:28:13 -04:00
|
|
|
name: 'RektT5m Parser',
|
|
|
|
isParser: true,
|
|
|
|
|
|
|
|
onEventAsync: function (gameEvent, server) {
|
|
|
|
},
|
|
|
|
|
|
|
|
onLoadAsync: function (manager) {
|
2020-01-21 19:08:18 -05:00
|
|
|
rconParser = manager.GenerateDynamicRConParser(this.name);
|
|
|
|
eventParser = manager.GenerateDynamicEventParser(this.name);
|
2019-04-21 17:28:13 -04:00
|
|
|
|
|
|
|
eventParser.Configuration.GameDirectory = 'data';
|
|
|
|
|
2020-10-31 10:18:37 -04:00
|
|
|
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff\x01print\n';
|
2019-04-23 18:27:20 -04:00
|
|
|
rconParser.Configuration.CommandPrefixes.Tell = 'tell {0} {1}';
|
2019-04-21 17:28:13 -04:00
|
|
|
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) {
|
|
|
|
}
|
|
|
|
};
|