mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 15:52:25 -05:00
add localized level names
intellisense suggestion junk
This commit is contained in:
@ -30,7 +30,7 @@ namespace IW4MAdmin.Plugins.Stats.Cheat
|
||||
long LastOffset;
|
||||
ILogger Log;
|
||||
Strain Strain;
|
||||
DateTime ConnectionTime = DateTime.UtcNow;
|
||||
readonly DateTime ConnectionTime = DateTime.UtcNow;
|
||||
|
||||
public Detection(ILogger log, EFClientStatistics clientStats)
|
||||
{
|
||||
|
@ -99,7 +99,7 @@ namespace IW4MAdmin.Plugins.Welcome
|
||||
private string ProcessAnnouncement(string msg, Player joining)
|
||||
{
|
||||
msg = msg.Replace("{{ClientName}}", joining.Name);
|
||||
msg = msg.Replace("{{ClientLevel}}", Utilities.ConvertLevelToColor(joining.Level));
|
||||
msg = msg.Replace("{{ClientLevel}}", Utilities.ConvertLevelToColor(joining.Level, joining.ClientPermission.Name));
|
||||
try
|
||||
{
|
||||
CountryLookupProj.CountryLookup CLT = new CountryLookupProj.CountryLookup($"{Utilities.OperatingDirectory}Plugins{System.IO.Path.DirectorySeparatorChar}GeoIP.dat");
|
||||
|
Reference in New Issue
Block a user