IW4M-Admin/Plugins/ScriptPlugins/ParserPlutoniumT4.js
Chase 0428453426 Update Pluto T4 Parser
Uses new static version string.
2021-04-08 09:36:32 -05:00

38 lines
1.1 KiB
JavaScript

var rconParser;
var eventParser;
var plugin = {
author: 'RaidMax',
version: 0.1,
name: 'Plutonium T4 Parser',
isParser: true,
onEventAsync: function (gameEvent, server) {
},
onLoadAsync: function (manager) {
rconParser = manager.GenerateDynamicRConParser(this.name);
eventParser = manager.GenerateDynamicEventParser(this.name);
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n';
rconParser.Configuration.GuidNumberStyle = 7; // Integer
rconParser.Version = 'Plutonium T4';
rconParser.GameName = 5; // T4
eventParser.Configuration.GuidNumberStyle = 7; // Integer
eventParser.Configuration.GameDirectory = 'raw';
eventParser.Version = 'Plutonium T4';
},
onUnloadAsync: function () {
},
onTickAsync: function (server) {
}
};