Skip to content

MC Startup Script v2.1.0

Choose a tag to compare

@GarnServo GarnServo released this 27 Aug 06:34
· 11 commits to main since this release
361eb3f

v2.1.0

A major refresh of mc-startup-script, moving the project from the legacy monolithic batch script to a lightweight PowerShell-based launcher.

NOTE: You only need to download START.bat - the PowerShell core will automatically download itself.

What's New

  • Added automatic Java runtime discovery across PATH, JAVA_HOME, common installation folders, Minecraft Launcher runtimes, and Windows Registry locations.
  • Added accurate Java version detection using the installed runtime itself.
  • Added Mojang API integration for Minecraft-to-Java compatibility checks.
  • Added local caching for Java requirements, with offline fallback support.
  • Added automatic server version detection from jar metadata.
  • Renamed Paper, Folia, Purpur, and vanilla jars are now supported without relying on their filenames.
  • Added support for Minecraft's new year-based versioning scheme.
  • Added support for Java 25 and Minecraft 26.x.
  • Added automatic migration from legacy v1 StartupScript.conf files to the new JSON configuration format.
  • Added improved Forge, NeoForge, Fabric, Paper, Folia, and vanilla server detection.
  • Added modern Discord webhook embeds with status colors, timestamps, server details, exit codes, and start/stop indicators.
  • Added consistent normal-stop and crash messaging across the terminal and Discord.
  • Added a redesigned setup wizard with clearer sections, validation, configuration review, and consistent prompts.
  • Added a cleaner server status dashboard for normal operation.
  • Added visible restart countdowns when crash-loop protection is triggered.
  • Added safer self-updates using temporary files and a separate updater process.
  • Added unattended update checks that do not interrupt automatic restart loops.
  • Added bounded restart history and cleanup of temporary launch variables to minimize long-running overhead.

Improvements

  • More reliable Java selection for users with multiple installed runtimes.
  • Better handling of renamed server jars.
  • Improved setup validation and error messages.
  • Consistent [Y/n], [y/N], and [Enter] prompt behavior.
  • Reduced reliance on hardcoded Minecraft version assumptions.
  • Updated documentation to reflect the current v2 architecture.
  • Preserved compatibility with existing v1 server installations.

Upgrade Notes

Existing v1 installations can upgrade automatically when using a v2 release containing both START.bat and core.ps1.

Legacy configuration files are retained and imported into the new config/StartupScript.json format. Server worlds, jars, libraries, EULA files, and other server data are left untouched.