diff --git a/CHANGELOG b/CHANGELOG index b577eb2..277c3dc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +-- 2023.01.29 - V3.1.4 + +- feat: Added database connection config option SSLMode (by Sandy-Garrido) +- fix: Fixed lastconnect giving out of range error during LR player stats save query (by Cruze03) +- fix: Added try-catch in LR player stats save queries (by Cruze03) +- fix: shoots will no longer increase on knife swings (by Cruze03) +- fix: Mute Server commands (Private K4-Missions Support) + -- 2023.01.24 - V3.1.2 - feat: Add support for admin groups and command overrides diff --git a/src/Module/Rank/RankCommands.cs b/src/Module/Rank/RankCommands.cs index 8b56173..6c29052 100644 --- a/src/Module/Rank/RankCommands.cs +++ b/src/Module/Rank/RankCommands.cs @@ -196,7 +196,8 @@ public void Initialize_Commands(Plugin plugin) SavePlayerRankCache(target, false); - Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.resetrank", target.PlayerName, playerName]}"); + if (playerName != "SERVER") + Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.resetrank", target.PlayerName, playerName]}"); } }); @@ -246,7 +247,8 @@ public void Initialize_Commands(Plugin plugin) SavePlayerRankCache(target, false); - Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.setpoints", target.PlayerName, parsedInt, playerName]}"); + if (playerName != "SERVER") + Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.setpoints", target.PlayerName, parsedInt, playerName]}"); } }); @@ -296,7 +298,8 @@ public void Initialize_Commands(Plugin plugin) SavePlayerRankCache(target, false); - Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.givepoints", playerName, parsedInt, target.PlayerName]}"); + if (playerName != "SERVER") + Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.givepoints", playerName, parsedInt, target.PlayerName]}"); } }); @@ -346,7 +349,8 @@ public void Initialize_Commands(Plugin plugin) SavePlayerRankCache(target, false); - Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.removepoints", playerName, parsedInt, target.PlayerName]}"); + if (playerName != "SERVER") + Server.PrintToChatAll($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.removepoints", playerName, parsedInt, target.PlayerName]}"); } }); } diff --git a/src/Plugin/PluginManifest.cs b/src/Plugin/PluginManifest.cs index 0b0b6ff..6ad9fe2 100644 --- a/src/Plugin/PluginManifest.cs +++ b/src/Plugin/PluginManifest.cs @@ -10,7 +10,7 @@ public sealed partial class Plugin : BasePlugin public override string ModuleAuthor => "K4ryuu"; - public override string ModuleVersion => "3.1.3 " + + public override string ModuleVersion => "3.1.4 " + #if RELEASE "(release)"; #else