Skip to content

1.7.0

Choose a tag to compare

@devwithzachary devwithzachary released this 19 Nov 10:30
· 32 commits to main since this release

☁️ MineServe Cloud Integration (Optional)

  • Cloud Account Linking (mineserve://auth): Added MineServeCloudManager, deep-link authentication handling in MainActivity, and a MineServe Cloud card in App Settings to sign in via cloud.mineserve.app, view your active tier, storage quota, and custom server addresses, or sign out.
  • MineServe Cloud Backups (R2): Added MineServe Cloud as a storage provider in Backups -> Cloud Backup Sync (CloudProviderType.MINESERVE_CLOUD), supporting direct streaming uploads to Cloudflare R2, automatic post-backup sync, and an in-app MineServe Cloud Snapshots browser with one-tap download & restore or deletion.
  • MineServe Cloud Tunnels (*.play.mineserve.app & *.playms.uk): Added MineServe Cloud as a tunnel provider in Server Settings -> Public Multiplayer Tunneling (TunnelProvider.MINESERVE_CLOUD), allowing Plus and Pro users to reserve custom *.play.mineserve.app (and Pro *.playms.uk) subdomains, select a relay region (US East, EU West, EU Central, Asia Pacific), and connect both game and remote Web Admin panel tunnels directly from the app.
  • Dedicated MineServe Cloud Page & Discovery: Added MineServeCloudScreen accessible from the Dashboard top bar (plus a one-time dismissible discovery card) and moved the MineServe Cloud card to the top of App Settings, clearly presenting Free, Plus, and Pro features and pricing without intrusive popups.

🗺️ World Pre-Generation & Chunk Tools

  • Chunk Pre-Generator (WorldPregenManager): Added a Chunk Pre-Generator tool in the World tab and Web Remote Admin to pre-generate chunks around spawn (0, 0) across Overworld, Nether, or End (250m to 2000m radius) using Chunky if installed or native /forceload batch stepping, with live progress and cancellation.
  • Visual Region File Inspector (.mca): Added an Anvil .mca region inspector in WorldManager, World tab, and Web Remote Admin showing individual region files sorted by size with chunk counts (X/1024), relative storage bars, dimension filtering, and safe deletion while stopped.

📱 Android System Integration & Safeguards

  • Quick Settings Start/Stop Tile (MineServeTileService): Added an Android Quick Settings tile in the notification shade to view the primary server's live state and start or stop it with a single tap.
  • Home Screen Server Widget (MineServeWidgetProvider): Added a resizable home screen widget displaying the primary server's name, type/port, running status, a 1-tap Start/Stop button, and tap-to-open-app navigation.
  • Battery & Thermal Safeguards (SafeguardPreferences): Added configurable Low Battery Auto-Stop (10%, 15%, or 20% while unplugged) and Thermal Auto-Stop (42°C, 45°C, or 48°C) options in App Settings, monitored by MineServeForegroundService with alert notifications when triggered.
  • "What's New" Release Feature Guide (WhatsNewScreen & WhatsNewData): Added a first-launch "What's New" screen for major (1.x) updates presenting new features in friendly, non-technical language with step-by-step instructions on where to find them in the app, complete with a bottom option to disable automatic display on future updates and settings controls in App Settings -> App Updates & Releases.

🩺 Diagnostics & Support Tools

  • In-App Logcat Capture & Redacted Bundle Export: Added Diagnostics & Logcat in App Settings (DiagnosticManager, DiagnosticsScreen) with tag filtering (MineServe Tags, Errors & Crashes, All App Logs), automatic scrubbing of Bearer/JWT tokens, Discord webhooks, secrets, and public IPv4 addresses, and .zip export via Share Sheet or Downloads.
  • Networking & Tunnel Health Self-Test: Added one-tap checks for LAN/gateway, DNS resolution (bore.pub, api.mineserve.app), Bore/Playit TCP reachability, MineServe Cloud /health, and UPnP router discovery.

⚙️ Runtime Setup & Reliability

  • Background-Safe Resumable Downloads & Local Import: RootfsManager and ServerSoftwareManager now keep Ubuntu rootfs and server JAR/archive downloads alive in the background via MineServeForegroundService (with live notification progress, WakeLock, and WiFiLock), support HTTP Range resume via .part files on interruption, and allow importing local .tar.gz rootfs archives or local .jar/.zip server files directly during setup.

🌐 Web Remote Admin Parity (v1.7.0 Features)

  • Cloud, Safeguards & Diagnostics in Web UI: Added a Cloud, Safeguards & Diagnostics panel in the Web Remote Admin UI (WebAdminServer, WebAdminExtendedHandlers) to inspect/refresh MineServe Cloud account status, configure Battery & Thermal Safeguards, capture redacted logcat, run network & tunnel self-tests, and download .zip diagnostic bundles from a browser.
  • MineServe Cloud Tunnels & Snapshots in Web UI: Added MINESERVE_CLOUD tunnel configuration (cloudSubdomain, cloudRegion, cloudDomain) under Settings & Network and a MineServe Cloud Snapshots browser under Backups with upload, restore, and delete actions.
  • Full-Width Web & Mobile Terminal Line Reflow (TerminalEmulator): Added soft-wrap row tracking and dynamic terminal line reflow in TerminalEmulator so the Web Remote Admin console receives full unwrapped logical lines that span the entire browser terminal width while the phone console dynamically reflows historical and live log lines to fill the exact phone screen width.

🧱 Core KMP Architecture Preparation (:core Module)

  • Platform-Agnostic :core Module: Extracted pure-Kotlin models, API clients, WebDavClient, UpnpClient, NatPmpClient, ChunkOptimizer, and FileStorageUtils out of :app into a standalone :core JVM module with cross-platform contracts and unit tests.