一个基于 .NET 8 与 WPF 的图形界面工具,支持原版与 Paper 服务器下载,并提供 Spigot 服务端本地构建能力。应用整合了统一日志展示、远程版本检测、默认保存路径持久化与跨页面同步、关于页链接与头像展示等功能,开箱即用,适合快速获取并管理 Minecraft 服务器端文件。
BuildTools.jar 与已安装 Java,配置输出目录,跟踪构建日志ver.mrcao.com.cn/ver.txt/https 检查远程版本,提示是否可更新Segoe MDL2 Assets 图标,Tab 内容随窗口拉伸而自适应dotnet build .\DownloadMinecraftServer.GUI\DownloadMinecraftServer.GUI.csproj
bin\Debug\net8.0-windows\MinecraftServerDownload.exedotnet publish .\DownloadMinecraftServer.GUI\DownloadMinecraftServer.GUI.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true
MinecraftServerDownload.exe(由 DownloadMinecraftServer.GUI.csproj 的 AssemblyName 指定)$out = "e:\Works\MinecraftDownloadServer\DownloadMinecraftServer.GUI\bin\Release\net8.0-windows\win-x64\publish" Compress-Archive -Path "$out\*" -DestinationPath "$out\MinecraftServerDownload.zip" -Force
Assets\app.icoDownloadMinecraftServer.GUI\DownloadMinecraftServer.GUI.csproj 中:
<ApplicationIcon>Assets\app.ico</ApplicationIcon>
<AssemblyName>MinecraftServerDownload</AssemblyName>
BuildTools.jar 源(官方/镜像;镜像源会提示不可用并自动切回官方)、Java 版本与构建参数,输出日志与清理缓存https://space.bilibili.com/342163344)https://cnb.cool/JeffreyMing/MinecraftServerDownloadshttps://cnb.cool/JeffreyMing/MinecraftServerDownloads/-/issueshttps://hub.spigotmc.org/stash/scm/spigot/builddata.githttps://hub.spigotmc.org/stash/scm/spigot/bukkit.githttps://hub.spigotmc.org/stash/scm/spigot/craftbukkit.githttps://hub.spigotmc.org/stash/scm/spigot/spigot.githttps://hub.spigotmc.org/stash/scm/spigot/buildtools.git%LocalAppData%\MinecraftServerDownload\config.jsonServices\ConfigService.cs 提供 DefaultSavePath 与 DefaultPathChanged 事件用于跨页同步MinecraftDownloadServer/ ├─ DownloadMinecraftServer.GUI/ │ ├─ Assets/ # 应用图标与资源(app.ico、*.png) │ ├─ Views/ # WPF 页面(XAML 与代码后置) │ ├─ Services/ # 业务与网络客户端(Mojang/Paper/Config 等) │ ├─ Models/ # 数据模型 │ ├─ MainWindow.xaml # 主窗口与标签页 │ └─ DownloadMinecraftServer.GUI.csproj └─ README.md
http 与 https,网络异常时会在日志中提示失败THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.