Players are verified when they're in the configured Steam group (public memberslistxml, refetched every 10 minutes, kept on failure) or have an unexpired override row in gv_verified, written by the web panel. Settings and data live in CS2-SimpleAdmin's MySQL database (gv_verified, gv_settings, gv_migrations), reached through its API. - css_gv_group <groupId64|0>, css_gv_enable, css_gv_disable (@css/root): verification runs only when enabled with a group set. - css_verify <target>: why a player is or isn't verified. Admin and above (by immunity from SimpleAdmin's groups) plus Guardian, unless admin_overrides.json says otherwise. - groupverify:api (shared/GroupVerifyApi): IsVerified, GetStatus, IsActive and OnVerifiedChanged. The API object lives in the shared assembly, so it survives hot reloads of GroupVerify.
36 lines
1.6 KiB
XML
36 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AssemblyName>GroupVerify</AssemblyName>
|
|
<RootNamespace>GroupVerify</RootNamespace>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<!-- Compile-time only: the server already has CounterStrikeSharp.API.dll -->
|
|
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.376">
|
|
<PrivateAssets>none</PrivateAssets>
|
|
<ExcludeAssets>runtime</ExcludeAssets>
|
|
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<!-- The same MySQL driver and version as CS2-SimpleAdmin; ships with the plugin -->
|
|
<PackageReference Include="MySqlConnector" Version="2.6.0" />
|
|
<!-- Compile-time only: CS2-SimpleAdmin installs it in shared/, copied from the server's copy -->
|
|
<Reference Include="CS2-SimpleAdminApi">
|
|
<HintPath>lib/CS2-SimpleAdminApi.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- GroupVerifyApi is its own project, shipped in shared/ (see release.sh), not in this folder -->
|
|
<Compile Remove="GroupVerifyApi/**" />
|
|
<None Remove="GroupVerifyApi/**" />
|
|
<ProjectReference Include="GroupVerifyApi/GroupVerifyApi.csproj">
|
|
<Private>false</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Embedded, so the tables are created without any extra files on the server -->
|
|
<EmbeddedResource Include="Migrations/*.sql" LogicalName="GroupVerify.Migrations.%(Filename)%(Extension)" />
|
|
</ItemGroup>
|
|
</Project>
|