Repository navigation
Releases
Releases · Caloptreyx/Template-Installer
v0.1.4
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 Conflictdo not consume pull limits. - Detect fast restarts in
powersteps (restart+wait) using pre-restart utilization uptime and faster initial polling instead of timing out after 120 s. - Enforce
MAX_FILE_BYTESonappend_file,prepend_file, andreplace_in_fileoutputs 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_fileaccess 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
v0.1.2
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
v0.1.0
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,uuidandnowfunctions. - 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.