From 556deedcc14c916afdfa490a18248d32a158a00c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 3 Aug 2021 06:04:23 +0300 Subject: [PATCH] fix: enable editing paper and spongeforge version variable input (#3509) Changes the paper and spongeforge version variable to be editable by users on the client view. There is no reason to have it as read-only. Other eggs have this value as editable --- database/Seeders/eggs/minecraft/egg-paper.json | 8 ++++---- .../eggs/minecraft/egg-sponge--sponge-vanilla.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/database/Seeders/eggs/minecraft/egg-paper.json b/database/Seeders/eggs/minecraft/egg-paper.json index f7b584b6b..5665b3696 100644 --- a/database/Seeders/eggs/minecraft/egg-paper.json +++ b/database/Seeders/eggs/minecraft/egg-paper.json @@ -4,7 +4,7 @@ "version": "PTDL_v1", "update_url": null }, - "exported_at": "2021-07-24T11:38:02+03:00", + "exported_at": "2021-08-01T03:54:45+03:00", "name": "Paper", "author": "parker@pterodactyl.io", "description": "High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.", @@ -38,7 +38,7 @@ "env_variable": "MINECRAFT_VERSION", "default_value": "latest", "user_viewable": true, - "user_editable": false, + "user_editable": true, "rules": "nullable|string|max:20" }, { @@ -65,8 +65,8 @@ "env_variable": "BUILD_NUMBER", "default_value": "latest", "user_viewable": true, - "user_editable": false, + "user_editable": true, "rules": "required|string|max:20" } ] -} \ No newline at end of file +} diff --git a/database/Seeders/eggs/minecraft/egg-sponge--sponge-vanilla.json b/database/Seeders/eggs/minecraft/egg-sponge--sponge-vanilla.json index c69ce8cd0..1b5aaf351 100644 --- a/database/Seeders/eggs/minecraft/egg-sponge--sponge-vanilla.json +++ b/database/Seeders/eggs/minecraft/egg-sponge--sponge-vanilla.json @@ -4,7 +4,7 @@ "version": "PTDL_v1", "update_url": null }, - "exported_at": "2021-07-04T19:19:11-04:00", + "exported_at": "2021-08-01T03:55:24+03:00", "name": "Sponge (SpongeVanilla)", "author": "support@pterodactyl.io", "description": "SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.", @@ -21,7 +21,7 @@ "config": { "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \")! For help, type \"\r\n}", - "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "logs": "{}", "stop": "stop" }, "scripts": { @@ -38,7 +38,7 @@ "env_variable": "SPONGE_VERSION", "default_value": "1.12.2-7.3.0", "user_viewable": true, - "user_editable": false, + "user_editable": true, "rules": "required|regex:\/^([a-zA-Z0-9.\\-_]+)$\/" }, { @@ -51,4 +51,4 @@ "rules": "required|regex:\/^([\\w\\d._-]+)(\\.jar)$\/" } ] -} \ No newline at end of file +}