2023-06-14 17:09:34 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2022-08-15 17:31:17 -04:00
|
|
|
<PropertyGroup>
|
2026-03-21 20:07:20 +01:00
|
|
|
<TargetFramework>net10.0</TargetFramework>
|
2022-08-15 17:31:17 -04:00
|
|
|
<OutputType>Exe</OutputType>
|
|
|
|
|
<PublishUrl>publish\</PublishUrl>
|
|
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
|
|
|
<LangVersion>default</LangVersion>
|
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
|
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
2026-04-06 20:25:11 +08:00
|
|
|
<!-- Consolonia transitively pulls in Avalonia build tasks; MCC has no XAML resources,
|
|
|
|
|
so disable the transitive Avalonia compilation to avoid file-lock races in parallel builds. -->
|
|
|
|
|
<EnableAvaloniaCompilationByDefault>false</EnableAvaloniaCompilationByDefault>
|
2022-08-15 17:31:17 -04:00
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<SignManifests>false</SignManifests>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ApplicationIcon>Resources\AppIcon.ico</ApplicationIcon>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<StartupObject>MinecraftClient.Program</StartupObject>
|
|
|
|
|
</PropertyGroup>
|
2026-03-22 15:24:33 +08:00
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Include="Physics\BlockShapeData.json" LogicalName="BlockShapeData.json" />
|
2026-03-30 23:21:36 +02:00
|
|
|
<EmbeddedResource Include="Mcp\Prompts\MccMcpOperatorPrompt.md" LogicalName="MccMcpOperatorPrompt.md" />
|
2026-03-29 18:47:40 +08:00
|
|
|
<EmbeddedResource Include="Tui\MinimapBlockColors.json" LogicalName="MinimapBlockColors.json" />
|
|
|
|
|
<EmbeddedResource Include="Tui\MinimapEntityCategories.json" LogicalName="MinimapEntityCategories.json" />
|
2026-03-22 15:24:33 +08:00
|
|
|
</ItemGroup>
|
2022-10-02 18:31:08 +08:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="Protocol\Handlers\Compression\**" />
|
|
|
|
|
<EmbeddedResource Remove="Protocol\Handlers\Compression\**" />
|
|
|
|
|
<None Remove="Protocol\Handlers\Compression\**" />
|
|
|
|
|
</ItemGroup>
|
2022-08-15 17:31:17 -04:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="Resources\AppIcon.ico" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2022-10-26 08:54:54 +08:00
|
|
|
<PackageReference Include="Brigadier.NET" Version="1.2.13" />
|
Add Discord Rich Presence ChatBot integration
- Add DiscordRichPresence NuGet package (v1.143.0)
- Create DiscordRpc.cs ChatBot with configurable presence display
- Wire config in Settings.cs ChatBotConfig class
- Register bot in McClient.cs RegisterBots()
- Add translation strings to Translations.resx and Designer
- Add config comments to ConfigComments.resx and Designer
- Support placeholders: {server_host}, {server_port}, {username},
{health}, {max_health}, {food}, {dimension}, {gamemode},
{x}, {y}, {z}, {player_count}, {protocol}
Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/43388021-4264-47e6-8403-7a1bca66d86f
2026-03-23 00:03:55 +00:00
|
|
|
<PackageReference Include="DiscordRichPresence" Version="1.143.0" />
|
2026-04-06 00:33:38 +08:00
|
|
|
<PackageReference Include="Consolonia" Version="11.3.10" />
|
2026-03-21 20:07:20 +01:00
|
|
|
<PackageReference Include="DnsClient" Version="1.8.0" />
|
|
|
|
|
<PackageReference Include="DSharpPlus" Version="4.5.1" />
|
|
|
|
|
<PackageReference Include="DynamicExpresso.Core" Version="2.19.3" />
|
2022-12-06 15:50:17 +08:00
|
|
|
<PackageReference Include="FuzzySharp" Version="2.0.2" />
|
2026-04-06 00:33:38 +08:00
|
|
|
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="14.11.1" />
|
2026-03-21 20:07:20 +01:00
|
|
|
<PackageReference Include="MessagePack" Version="3.1.4" />
|
2026-03-28 02:08:47 +01:00
|
|
|
<PackageReference Include="ModelContextProtocol" Version="1.1.0" />
|
|
|
|
|
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.1.0" />
|
2026-03-21 20:07:20 +01:00
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Windows.Compatibility" Version="10.0.5" />
|
|
|
|
|
<PackageReference Include="Samboy063.Tomlet" Version="6.2.0" />
|
2026-04-06 00:34:52 +08:00
|
|
|
<PackageReference Include="Sentry" Version="6.3.0" />
|
2026-03-21 20:07:20 +01:00
|
|
|
<PackageReference Include="SingleFileExtractor.Core" Version="2.3.0" />
|
2022-10-02 18:31:08 +08:00
|
|
|
<PackageReference Include="starksoft.aspen" Version="1.1.8">
|
|
|
|
|
<NoWarn>NU1701</NoWarn>
|
|
|
|
|
</PackageReference>
|
2026-03-21 20:07:20 +01:00
|
|
|
<PackageReference Include="Telegram.Bot" Version="22.9.5.3" />
|
2022-08-15 17:31:17 -04:00
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2022-10-26 21:31:31 +02:00
|
|
|
<Compile Remove="config\ChatBots\AutoLeaveOnLowHp.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\ChatBots\AutoLook.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\AutoTree.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\CobblestoneMiner.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\DiscordWebhook.cs" />
|
2022-10-26 21:31:31 +02:00
|
|
|
<Compile Remove="config\ChatBots\EntityCount.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\ChatBots\OreMiner.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\PayKassa.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\QIWIAPI.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\SugarCaneMiner.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\TreeFarmer.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\VkMessager.cs" />
|
2026-03-25 13:39:30 +00:00
|
|
|
<Compile Remove="config\ChatBots\WebSocketBot.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\sample-script-extended.cs" />
|
2026-03-23 14:29:04 +01:00
|
|
|
<Compile Remove="config\sample-script-packet-capture.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\sample-script-pm-forwarder.cs" />
|
|
|
|
|
<Compile Remove="config\sample-script-random-command.cs" />
|
2026-03-23 14:29:04 +01:00
|
|
|
<Compile Remove="config\sample-script-tick-counter.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\sample-script-with-chatbot.cs" />
|
|
|
|
|
<Compile Remove="config\sample-script-with-http-request.cs" />
|
|
|
|
|
<Compile Remove="config\sample-script-with-task.cs" />
|
|
|
|
|
<Compile Remove="config\sample-script-with-world-access.cs" />
|
2026-03-23 14:29:04 +01:00
|
|
|
<Compile Remove="config\sample-script-packet-capture.cs" />
|
2022-08-15 17:31:17 -04:00
|
|
|
<Compile Remove="config\sample-script.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\MineCube.cs" />
|
|
|
|
|
<Compile Remove="config\ChatBots\SugarCaneFarmer.cs" />
|
|
|
|
|
<Compile Remove="Mapping\VillagerInfo.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\ConsoleInteractive\ConsoleInteractive\ConsoleInteractive\ConsoleInteractive.csproj" />
|
|
|
|
|
</ItemGroup>
|
2022-10-05 15:02:30 +08:00
|
|
|
<ItemGroup>
|
2022-10-28 11:13:20 +08:00
|
|
|
<Compile Update="Resources\AsciiArt\AsciiArt.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>AsciiArt.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2022-11-30 16:22:48 +08:00
|
|
|
<Compile Update="Resources\ConfigComments\ConfigComments.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>ConfigComments.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2022-12-11 13:00:19 +08:00
|
|
|
<Compile Update="Resources\MinecraftAssets.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>MinecraftAssets.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
2022-10-28 11:13:20 +08:00
|
|
|
<Compile Update="Resources\Translations\Translations.Designer.cs">
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DependentUpon>Translations.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Update="Resources\AsciiArt\AsciiArt.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>AsciiArt.Designer.cs</LastGenOutput>
|
|
|
|
|
<CustomToolNamespace>MinecraftClient</CustomToolNamespace>
|
|
|
|
|
</EmbeddedResource>
|
2022-11-30 16:22:48 +08:00
|
|
|
<EmbeddedResource Update="Resources\ConfigComments\ConfigComments.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>ConfigComments.Designer.cs</LastGenOutput>
|
|
|
|
|
<CustomToolNamespace>MinecraftClient</CustomToolNamespace>
|
|
|
|
|
</EmbeddedResource>
|
2022-12-11 13:00:19 +08:00
|
|
|
<EmbeddedResource Update="Resources\MinecraftAssets.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>MinecraftAssets.Designer.cs</LastGenOutput>
|
|
|
|
|
<CustomToolNamespace>MinecraftClient</CustomToolNamespace>
|
|
|
|
|
</EmbeddedResource>
|
2022-10-28 11:13:20 +08:00
|
|
|
<EmbeddedResource Update="Resources\Translations\Translations.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Translations.Designer.cs</LastGenOutput>
|
|
|
|
|
<CustomToolNamespace>MinecraftClient</CustomToolNamespace>
|
2022-10-05 15:02:30 +08:00
|
|
|
</EmbeddedResource>
|
|
|
|
|
</ItemGroup>
|
2022-08-15 17:31:17 -04:00
|
|
|
</Project>
|