From bc0d3d2f324ee613424ee31103207222b4b19640 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 29 Jul 2026 12:21:32 +0200 Subject: Config editor, host networking, whitelist RCON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Config file editor at /instances/{id}/config (browse & edit config/ files) - Host networking for Docker container (fixes WireGuard MTU DNS issues) - Whitelist changes applied live via RCON instead of stopping the server - Config edit handler detects which fields changed: whitelist → RCON, other settings → restart container - walk_dir simplified (removed unused root param) - import_world uses if-let instead of never-looping while-let - docker-compose.yml updated as reference template --- templates/instances/edit.html | 226 +++++++----------------------------------- 1 file changed, 34 insertions(+), 192 deletions(-) (limited to 'templates/instances/edit.html') diff --git a/templates/instances/edit.html b/templates/instances/edit.html index 77dfca6..ef7d53e 100644 --- a/templates/instances/edit.html +++ b/templates/instances/edit.html @@ -19,125 +19,41 @@ Server Properties @@ -147,12 +63,8 @@ -
+

World Management

- {% if instance.is_active %}
Stop the server before managing the world.
{% endif %} @@ -166,109 +78,39 @@
-
- Export World +
+ Export World -
- - + + +
-
- - + + +
+
+

Configuration Files

+
+ Edit mod/plugin config files inside config/ +
+ +
+

Mods

{% if instance.has_modpack %} {{ mod_count }} mod{% if mod_count != 1 %}s{% endif %} - installed {% if rejected_count > 0 %} ({{ rejected_count }} - rejected) {% endif %} {% else %} No mods installed {% endif %} + installed{% if rejected_count > 0 %} ({{ rejected_count }} rejected){% endif %} + {% else %} No mods installed {% endif %}
-- cgit v1.2.3