Skip to content

Commit

Permalink
Patch v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Apr 26, 2024
1 parent 432170e commit ee615a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-- 2024. 04. 26 - v1.2.1

- update: Updated from NET7 to NET8
- fix: Steam group check

-- 2024. 04. 06 - v1.2.0

- feat: Created SteamService model
Expand Down
4 changes: 2 additions & 2 deletions src/KitsuneSteamRestrict.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class PluginConfig : BasePluginConfig
public class SteamRestrictPlugin : BasePlugin, IPluginConfig<PluginConfig>
{
public override string ModuleName => "Steam Restrict";
public override string ModuleVersion => "1.2.0";
public override string ModuleVersion => "1.2.1";
public override string ModuleAuthor => "K4ryuu, Cruze @ KitsuneLab";
public override string ModuleDescription => "Restrict certain players from connecting to your server.";

Expand Down Expand Up @@ -190,7 +190,7 @@ private bool IsRestrictionViolated(CCSPlayerController player, SteamUserInfo use
(Config.BlockPrivateProfile, 1, userInfo.IsPrivate ? 0 : 1),
(Config.BlockTradeBanned, 1, userInfo.IsTradeBanned ? 0 : 1),
(Config.BlockGameBanned, 1, userInfo.IsGameBanned ? 0 : 1),
(!string.IsNullOrEmpty(Config.SteamGroupID), 1, userInfo.IsInSteamGroup ? 0 : 1),
(!string.IsNullOrEmpty(Config.SteamGroupID), 1, userInfo.IsInSteamGroup ? 1 : 0),
(Config.BlockVACBanned, 1, userInfo.IsVACBanned ? 0 : 1),
};

Expand Down
4 changes: 2 additions & 2 deletions src/KitsuneSteamRestrict.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<PublishDir>./bin/KitsuneSteamRestrict/</PublishDir>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.198">
<PackageReference Include="CounterStrikeSharp.API" Version="*">
<PrivateAssets>none</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit ee615a5

Please sign in to comment.