2022-06-03 17:26:58 -04:00
|
|
|
var rconParser;
|
|
|
|
var eventParser;
|
|
|
|
|
|
|
|
var plugin = {
|
|
|
|
author: 'RaidMax',
|
2022-07-01 10:59:11 -04:00
|
|
|
version: 0.2,
|
2022-06-03 17:26:58 -04:00
|
|
|
name: 'Plutonium T5 Parser',
|
|
|
|
isParser: true,
|
|
|
|
|
|
|
|
onEventAsync: function (gameEvent, server) {
|
|
|
|
},
|
|
|
|
|
|
|
|
onLoadAsync: function (manager) {
|
|
|
|
rconParser = manager.GenerateDynamicRConParser(this.name);
|
|
|
|
eventParser = manager.GenerateDynamicEventParser(this.name);
|
|
|
|
|
|
|
|
rconParser.Configuration.DefaultInstallationDirectoryHint = '{LocalAppData}/Plutonium/storage/t5';
|
|
|
|
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n';
|
2022-06-11 10:56:28 -04:00
|
|
|
rconParser.Configuration.Dvar.Pattern = '^(?:\\^7)?\\"(.+)\\" is: \\"(.+)?\\" default: \\"(.+)?\\"\\n?(?:latched: \\"(.+)?\\"\\n)?\\w*(.+)*$';
|
2022-06-03 17:26:58 -04:00
|
|
|
rconParser.Configuration.CommandPrefixes.Tell = 'tell {0} {1}';
|
|
|
|
rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined;
|
|
|
|
rconParser.Configuration.GuidNumberStyle = 7; // Integer
|
|
|
|
rconParser.Configuration.DefaultRConPort = 3074;
|
|
|
|
rconParser.Configuration.CanGenerateLogPath = false;
|
|
|
|
|
2022-07-01 10:59:11 -04:00
|
|
|
rconParser.Configuration.OverrideCommandTimeouts.Clear();
|
|
|
|
rconParser.Configuration.OverrideCommandTimeouts.Add('map', 0);
|
|
|
|
rconParser.Configuration.OverrideCommandTimeouts.Add('map_rotate', 0);
|
|
|
|
rconParser.Configuration.OverrideCommandTimeouts.Add('fast_restart', 0);
|
|
|
|
|
2022-06-03 17:26:58 -04:00
|
|
|
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
|
|
|
|
eventParser.Configuration.GuidNumberStyle = 7; // Integer
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onUnloadAsync: function () {
|
|
|
|
},
|
|
|
|
|
|
|
|
onTickAsync: function (server) {
|
|
|
|
}
|
|
|
|
};
|