Skip to content

Releases

v0.1.0

Choose a tag to compare

@Xylo01 Xylo01 released this 24 Nov 21:53

MC Startup Flags 0.1.0

First release of the Minecraft JVM Startup Flag Editor extension for Calagopus Panel (>=1.2.10).

Added

  • Startup Flag Editor Card & Dedicated Page: Clickable Startup Flag Editor card on the server Startup page linking to /startup-flags, plus an eligibility-filtered sidebar tab (for configured eggs or auto-detected Java/Minecraft servers).
  • Curated Presets: Built-in presets for Vanilla/Default, Aikar's Flags (automatic <12 GB / >=12 GB sizing), Generational ZGC (Java 21+, auto-omitting -XX:+ZGenerational on Java 24+), Shenandoah GC, Modded G1GC, Proxy (Velocity / Waterfall / BungeeCord), and Paper / Pufferfish SIMD — with Java version compatibility detection from the server's Docker image.
  • Custom Memory Controls: Automatic (MaxRAMPercentage), Custom (-Xms / -Xmx with container RAM headroom protection), and Template ({{SERVER_MEMORY}}) modes.
  • Interactive Flag Builder & Security Sanitizer: Visual GC, heap, and JVM runtime flag toggles plus custom JVM flags with strict backend/frontend validation (blocking shell metacharacters, invalid prefixes, hardcoded dangerous JVM options, and admin-configured extra blocked prefixes) — works safely even when arbitrary custom startup commands are disabled on the egg.
  • Safe Command Preservation: Parses and rewrites only the JVM flags section while preserving the Java binary, leading env vars, -jar target, and Forge/NeoForge @libraries/.../unix_args.txt argfiles, with one-click reset to egg default.
  • Saved Custom Presets & Import/Export: Account-scoped PostgreSQL presets (dev_caloptreyx_startupflags_presets) reusable across all servers, plus export/import via mcflags:v1: share codes, JSON, or raw java ... commands.
  • Permissions & Admin Settings: startup-flags.{read,update,presets} server permissions and admin settings for egg filtering, custom flags/memory toggles, RAM overhead, MaxRAMPercentage ceiling, preset limits, and extra blocked flag prefixes.