Skip to content

Releases

v0.1.4

Choose a tag to compare

@Xylo01 Xylo01 released this 24 Nov 16:22

Reliability fixes and new ready-to-import example templates. Requires panel >=1.2.10 (unchanged).

  • Reserve the running install slot before charging file pull rate-limit quota so concurrent installs returning 409 Conflict do not consume pull limits.
  • Detect fast restarts in power steps (restart + wait) using pre-restart utilization uptime and faster initial polling instead of timing out after 120 s.
  • Enforce MAX_FILE_BYTES on append_file, prepend_file, and replace_in_file outputs before writing, and mark installs failed on unexpected background executor errors rather than leaving the server locked until stale cleanup.
  • Fix double-slash paths in root pull_file access error messages and clean up frontend polling, server-switch resets, and reserved variable key validation.
  • Add 7 ready-to-import example templates under examples/: BlueMap 3D Web Map, DiscordSRV, GeyserMC & Floodgate, LuckPerms, Minecraft Server Properties, ViaVersion Suite, and spark Profiler.

Upgrading

Replace the extension archive and restart the panel.

v0.1.3

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Nov 08:07

Works with panel 1.2.11. Requires panel >=1.2.10 (unchanged).

  • The frontend builds against panel 1.2.11, which types an extension's card icon as IconLike. No other changes.

Upgrading

Replace the extension archive and restart the panel.

v0.1.2

Choose a tag to compare

@Xylo01 Xylo01 released this 22 Nov 00:45

Security release. Requires panel >=1.2.10.

  • Running a template needs the core permission for each of its steps (files.create, files.archive, files.update, files.delete, control.*).
  • Each pull counts against the panel's file pull rate limit; a template that would go over the limit is refused before anything runs.
  • Template cards name any missing permission and disable Install.

v0.1.1

Choose a tag to compare

@Xylo01 Xylo01 released this 25 Oct 23:52
  • Works with panel 1.2.7 (now required)
  • tojson in templates still writes compact JSON

v0.1.0

Choose a tag to compare

@Xylo01 Xylo01 released this 02 Oct 00:41

First release of Template Installer (dev.caloptreyx.templates), requires panel >=1.2.3.

Admins build install templates; users run them on their servers from the Templates page.

Features

  • 11 step types run in order: write, replace in (with regex), append to and prepend files; create folders; pull files from a URL; unzip archives (zip, tar.*, rar, 7z); move files or folder contents; delete; and power actions with an optional wait.
  • Conditions on every step, and the install stops at the first failing step.
  • Jinja2 templating (minijinja, sandboxed) in every field: paths, URLs, contents, search/replace and conditions.
  • User variables with Laravel-style validation rules; the install form picks a select, switch, number or text input from the rules.
  • Built-in variables for the server, its allocations, egg, nest, node and egg variables, the installing user and the panel, plus random_string, uuid and now functions.
  • Validated up front: every step is rendered and checked before anything runs, so a typo or bad path changes nothing.
  • Egg filter per template.
  • Import/export as JSON; imports start disabled. Includes a Simple Voice Chat example in examples/.
  • Live progress per step, the last 20 installs per server, and entries in the server activity log.
  • Permissions: templates.read / templates.install (server), templates.read / templates.manage (admin).

Install

Upload dev_caloptreyx_templates.c7s.zip under Admin → Extensions, or put it in the heavy image's build/extensions/ and run docker compose restart web.