Skip to content

Commit

Permalink
more integration tweaks
Browse files Browse the repository at this point in the history
add configurable flood protect interval for rcon
  • Loading branch information
RaidMax committed Feb 8, 2022
1 parent 8989b5b commit cf2245a
Show file tree
Hide file tree
Showing 13 changed files with 388 additions and 288 deletions.
3 changes: 2 additions & 1 deletion Application/RConParsers/DynamicRConParserConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class DynamicRConParserConfiguration : IRConParserConfiguration
public string NoticeLineSeparator { get; set; } = Environment.NewLine;
public int? DefaultRConPort { get; set; }
public string DefaultInstallationDirectoryHint { get; set; }
public short FloodProtectInterval { get; set; } = 750;

public ColorCodeMapping ColorCodeMapping { get; set; } = new ColorCodeMapping
{
Expand Down Expand Up @@ -59,4 +60,4 @@ public DynamicRConParserConfiguration(IParserRegexFactory parserRegexFactory)
MaxPlayersStatus = parserRegexFactory.CreateParserRegex();
}
}
}
}
53 changes: 0 additions & 53 deletions GameFiles/IW4x/userraw/scripts/_commands.gsc

This file was deleted.

Loading

0 comments on commit cf2245a

Please sign in to comment.