Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 3.46 KB

File metadata and controls

60 lines (44 loc) · 3.46 KB

BlockPilotMC v1.0.4

  • Windows EN/TW/ZH launchers now pass their selected language into the dedicated API console; English startup no longer displays Traditional Chinese API messages.

  • Fixed Windows PowerShell 5.1 parsing failures in the dependency installer by packaging localized .ps1 files as UTF-8 with BOM.

BlockPilotMC v1.0.4 is the formal release that consolidates the latest maintenance work and the completed Discord integration. It supports Windows and Linux and remains licensed under Apache-2.0.

Discord integration

  • Per-instance Discord Incoming Webhook notifications for server start, ready, stop, player join/leave, player chat, warnings, and errors.
  • Encrypted Webhook URL and Bot Token storage with masked fields and administrator-only reveal controls.
  • Discord Bot Gateway connection with heartbeat, reconnect, resume, and shared connections for instances using the same token.
  • Discord → Minecraft chat through tellraw, with loop prevention and message filtering.
  • Restricted Discord management commands with role and user allow-lists.
  • Server/core/mod/plugin command analysis and a selectable permission list; tp is included in the recommended default set.
  • TPS detection for Paper, Purpur, Folia, Forge, NeoForge, and spark-enabled servers.
  • Optional Discord channel-topic updates every 15, 30, or 60 seconds with server state, detected software, and uptime.
  • Audit records for allowed, denied, and failed Discord management actions without exposing secrets.

Console and instance improvements

  • Added per-instance input and output encodings: UTF-8, UTF-16, GBK, GB2312, GB18030, BIG5, BIG5-HKSCS, and Shift_JIS.
  • Console output is decoded using the selected encoding and stored internally as UTF-8.
  • Console input, Discord commands, stop commands, TPS queries, and command analysis use the selected input encoding.
  • Live-console auto-scroll remains pinned to the newest output until the operator explicitly turns it off.
  • Improved selected-text contrast and pale success-notification colors in light and dark themes.
  • Fixed modpack selection so the suggested instance name follows the newly selected pack unless the operator has manually edited the name.
  • Added saved notifications to configuration and file-save workflows.

Startup and dependency fixes

  • Updated better-sqlite3 to 13.0.2 and restored iconv-lite for console encoding.
  • Windows launchers verify required dependencies, use reproducible npm ci, preserve detailed installation logs, and keep the API in a dedicated console.
  • Removed UTF-8 BOM from BAT/CMD launchers so @echo off works correctly and commands are no longer echoed.
  • Windows WEB launcher closes automatically after the panel opens; the API console remains running.
  • Linux direct startup, systemd installation, and Docker examples remain available.

Upgrade notes

Back up these locations before replacing an existing installation:

runtime/
Server/
backups/
.env

The SQLite schema is migrated automatically. Existing encrypted Discord Webhook settings remain compatible. Bot-related settings remain disabled until a token and channel are configured.

Requirements

  • Node.js 22–26
  • npm 10 or later
  • A Java version compatible with the selected Minecraft server
  • Windows 10/11, Windows Server, or a common x86_64 Linux distribution

License

BlockPilotMC v1.0.4 is distributed under the Apache License 2.0. Preserve LICENSE, NOTICE, and applicable third-party notices when redistributing the project.