/pm (/w) with names, #userid, SteamIDs, @me, @aim, @random, @randomt and @randomct, /r to reply, and /block, /blocklist, /unblock. Lines use CS2-Tags' rank prefixes and colours: >[[M] Kalus -> me] message. Gagged players can't send; blocks stop everyone but staff. Messages are kept in CS2-SimpleAdmin's database while History is on (css_whisper_history).
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AssemblyName>Whisper</AssemblyName>
|
|
<RootNamespace>Whisper</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>
|
|
<!-- Embedded, so the tables are created without any extra files on the server -->
|
|
<EmbeddedResource Include="Migrations/*.sql" LogicalName="Whisper.Migrations.%(Filename)%(Extension)" />
|
|
</ItemGroup>
|
|
</Project>
|