From 40ecfec01960b990415a27d607f43bf7122b391e Mon Sep 17 00:00:00 2001 From: Crowbarmaster Date: Sun, 14 Apr 2024 21:27:13 +0000 Subject: [PATCH 1/4] Update java version prop manifest. Signed-off-by: author_name --- MMS_Files/java_version_prop_manifest.json | 247 ++++++++++++++++++++++ 1 file changed, 247 insertions(+) diff --git a/MMS_Files/java_version_prop_manifest.json b/MMS_Files/java_version_prop_manifest.json index fc45ee3..c95cdd6 100644 --- a/MMS_Files/java_version_prop_manifest.json +++ b/MMS_Files/java_version_prop_manifest.json @@ -77041,5 +77041,252 @@ "Value": "false" } ] + }, + { + "Version": "1.20.5-pre1", + "IsBeta": "true", + "DownloadUrl": "https://piston-data.mojang.com/v1/objects/018c4aa3b1dcd5ac4487456de062072de750f729/server.jar", + "PropList": [ + { + "Key": "accepts-transfers", + "Value": "false" + }, + { + "Key": "allow-flight", + "Value": "false" + }, + { + "Key": "allow-nether", + "Value": "true" + }, + { + "Key": "broadcast-console-to-ops", + "Value": "true" + }, + { + "Key": "broadcast-rcon-to-ops", + "Value": "true" + }, + { + "Key": "difficulty", + "Value": "easy" + }, + { + "Key": "enable-command-block", + "Value": "false" + }, + { + "Key": "enable-jmx-monitoring", + "Value": "false" + }, + { + "Key": "enable-query", + "Value": "false" + }, + { + "Key": "enable-rcon", + "Value": "false" + }, + { + "Key": "enable-status", + "Value": "true" + }, + { + "Key": "enforce-secure-profile", + "Value": "true" + }, + { + "Key": "enforce-whitelist", + "Value": "false" + }, + { + "Key": "entity-broadcast-range-percentage", + "Value": "100" + }, + { + "Key": "force-gamemode", + "Value": "false" + }, + { + "Key": "function-permission-level", + "Value": "2" + }, + { + "Key": "gamemode", + "Value": "survival" + }, + { + "Key": "generate-structures", + "Value": "true" + }, + { + "Key": "generator-settings", + "Value": "{}" + }, + { + "Key": "hardcore", + "Value": "false" + }, + { + "Key": "hide-online-players", + "Value": "false" + }, + { + "Key": "initial-disabled-packs", + "Value": "" + }, + { + "Key": "initial-enabled-packs", + "Value": "vanilla" + }, + { + "Key": "level-name", + "Value": "world" + }, + { + "Key": "level-seed", + "Value": "" + }, + { + "Key": "level-type", + "Value": "minecraft\\:normal" + }, + { + "Key": "log-ips", + "Value": "true" + }, + { + "Key": "max-chained-neighbor-updates", + "Value": "1000000" + }, + { + "Key": "max-players", + "Value": "20" + }, + { + "Key": "max-tick-time", + "Value": "60000" + }, + { + "Key": "max-world-size", + "Value": "29999984" + }, + { + "Key": "motd", + "Value": "A Minecraft Server" + }, + { + "Key": "network-compression-threshold", + "Value": "256" + }, + { + "Key": "online-mode", + "Value": "true" + }, + { + "Key": "op-permission-level", + "Value": "4" + }, + { + "Key": "player-idle-timeout", + "Value": "0" + }, + { + "Key": "prevent-proxy-connections", + "Value": "false" + }, + { + "Key": "pvp", + "Value": "true" + }, + { + "Key": "query.port", + "Value": "25565" + }, + { + "Key": "rate-limit", + "Value": "0" + }, + { + "Key": "rcon.password", + "Value": "" + }, + { + "Key": "rcon.port", + "Value": "25575" + }, + { + "Key": "region-file-compression", + "Value": "deflate" + }, + { + "Key": "require-resource-pack", + "Value": "false" + }, + { + "Key": "resource-pack", + "Value": "" + }, + { + "Key": "resource-pack-id", + "Value": "" + }, + { + "Key": "resource-pack-prompt", + "Value": "" + }, + { + "Key": "resource-pack-sha1", + "Value": "" + }, + { + "Key": "server-ip", + "Value": "" + }, + { + "Key": "server-port", + "Value": "25565" + }, + { + "Key": "simulation-distance", + "Value": "10" + }, + { + "Key": "spawn-animals", + "Value": "true" + }, + { + "Key": "spawn-monsters", + "Value": "true" + }, + { + "Key": "spawn-npcs", + "Value": "true" + }, + { + "Key": "spawn-protection", + "Value": "16" + }, + { + "Key": "sync-chunk-writes", + "Value": "true" + }, + { + "Key": "text-filtering-config", + "Value": "" + }, + { + "Key": "use-native-transport", + "Value": "true" + }, + { + "Key": "view-distance", + "Value": "10" + }, + { + "Key": "white-list", + "Value": "false" + } + ] } ] From 28fa79cfb788b9b76e0733fed8ea55d3a130407f Mon Sep 17 00:00:00 2001 From: Tad Tarrant <69368213+crowbarmaster@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:30:54 -0400 Subject: [PATCH 2/4] Update java_version_prop_manifest.json Fix double. --- MMS_Files/java_version_prop_manifest.json | 247 ---------------------- 1 file changed, 247 deletions(-) diff --git a/MMS_Files/java_version_prop_manifest.json b/MMS_Files/java_version_prop_manifest.json index c95cdd6..fc45ee3 100644 --- a/MMS_Files/java_version_prop_manifest.json +++ b/MMS_Files/java_version_prop_manifest.json @@ -77041,252 +77041,5 @@ "Value": "false" } ] - }, - { - "Version": "1.20.5-pre1", - "IsBeta": "true", - "DownloadUrl": "https://piston-data.mojang.com/v1/objects/018c4aa3b1dcd5ac4487456de062072de750f729/server.jar", - "PropList": [ - { - "Key": "accepts-transfers", - "Value": "false" - }, - { - "Key": "allow-flight", - "Value": "false" - }, - { - "Key": "allow-nether", - "Value": "true" - }, - { - "Key": "broadcast-console-to-ops", - "Value": "true" - }, - { - "Key": "broadcast-rcon-to-ops", - "Value": "true" - }, - { - "Key": "difficulty", - "Value": "easy" - }, - { - "Key": "enable-command-block", - "Value": "false" - }, - { - "Key": "enable-jmx-monitoring", - "Value": "false" - }, - { - "Key": "enable-query", - "Value": "false" - }, - { - "Key": "enable-rcon", - "Value": "false" - }, - { - "Key": "enable-status", - "Value": "true" - }, - { - "Key": "enforce-secure-profile", - "Value": "true" - }, - { - "Key": "enforce-whitelist", - "Value": "false" - }, - { - "Key": "entity-broadcast-range-percentage", - "Value": "100" - }, - { - "Key": "force-gamemode", - "Value": "false" - }, - { - "Key": "function-permission-level", - "Value": "2" - }, - { - "Key": "gamemode", - "Value": "survival" - }, - { - "Key": "generate-structures", - "Value": "true" - }, - { - "Key": "generator-settings", - "Value": "{}" - }, - { - "Key": "hardcore", - "Value": "false" - }, - { - "Key": "hide-online-players", - "Value": "false" - }, - { - "Key": "initial-disabled-packs", - "Value": "" - }, - { - "Key": "initial-enabled-packs", - "Value": "vanilla" - }, - { - "Key": "level-name", - "Value": "world" - }, - { - "Key": "level-seed", - "Value": "" - }, - { - "Key": "level-type", - "Value": "minecraft\\:normal" - }, - { - "Key": "log-ips", - "Value": "true" - }, - { - "Key": "max-chained-neighbor-updates", - "Value": "1000000" - }, - { - "Key": "max-players", - "Value": "20" - }, - { - "Key": "max-tick-time", - "Value": "60000" - }, - { - "Key": "max-world-size", - "Value": "29999984" - }, - { - "Key": "motd", - "Value": "A Minecraft Server" - }, - { - "Key": "network-compression-threshold", - "Value": "256" - }, - { - "Key": "online-mode", - "Value": "true" - }, - { - "Key": "op-permission-level", - "Value": "4" - }, - { - "Key": "player-idle-timeout", - "Value": "0" - }, - { - "Key": "prevent-proxy-connections", - "Value": "false" - }, - { - "Key": "pvp", - "Value": "true" - }, - { - "Key": "query.port", - "Value": "25565" - }, - { - "Key": "rate-limit", - "Value": "0" - }, - { - "Key": "rcon.password", - "Value": "" - }, - { - "Key": "rcon.port", - "Value": "25575" - }, - { - "Key": "region-file-compression", - "Value": "deflate" - }, - { - "Key": "require-resource-pack", - "Value": "false" - }, - { - "Key": "resource-pack", - "Value": "" - }, - { - "Key": "resource-pack-id", - "Value": "" - }, - { - "Key": "resource-pack-prompt", - "Value": "" - }, - { - "Key": "resource-pack-sha1", - "Value": "" - }, - { - "Key": "server-ip", - "Value": "" - }, - { - "Key": "server-port", - "Value": "25565" - }, - { - "Key": "simulation-distance", - "Value": "10" - }, - { - "Key": "spawn-animals", - "Value": "true" - }, - { - "Key": "spawn-monsters", - "Value": "true" - }, - { - "Key": "spawn-npcs", - "Value": "true" - }, - { - "Key": "spawn-protection", - "Value": "16" - }, - { - "Key": "sync-chunk-writes", - "Value": "true" - }, - { - "Key": "text-filtering-config", - "Value": "" - }, - { - "Key": "use-native-transport", - "Value": "true" - }, - { - "Key": "view-distance", - "Value": "10" - }, - { - "Key": "white-list", - "Value": "false" - } - ] } ] From 4198050bb2fbe8ebc509075788a2fe4896e813de Mon Sep 17 00:00:00 2001 From: Tad Tarrant <69368213+crowbarmaster@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:32:20 -0400 Subject: [PATCH 3/4] Update CheckJavaVersion.yml Fix version conditional check. --- .github/workflows/CheckJavaVersion.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CheckJavaVersion.yml b/.github/workflows/CheckJavaVersion.yml index 74e7fb4..5bf693f 100644 --- a/.github/workflows/CheckJavaVersion.yml +++ b/.github/workflows/CheckJavaVersion.yml @@ -29,6 +29,7 @@ jobs: $javaManifestUri = 'https://piston-meta.mojang.com/mc/game/version_manifest_v2.json'; $javaManifestcontent = Invoke-WebRequest -UseBasicParsing -Headers $ConnectionHeaders -Uri $javaManifestUri; $javaManifestJson = $javaManifestcontent | ConvertFrom-Json; + $localJavaManifestJson = Get-Content "MMS_Files\\java_version_prop_manifest.json" | ConvertFrom-Json; $latestRelease = $javaManifestJson.versions | Select-Object -First 1; $latestLocalRelease = $localJavaManifestJson | Select-Object -Last 1; echo "javaVer=0" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append; From 435531ec7f6ab92c629147f183dfeb86f481a3d7 Mon Sep 17 00:00:00 2001 From: Tad Tarrant <69368213+crowbarmaster@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:32:54 -0400 Subject: [PATCH 4/4] Update CheckJavaVersion.yml Remove extra spaces. --- .github/workflows/CheckJavaVersion.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CheckJavaVersion.yml b/.github/workflows/CheckJavaVersion.yml index 5bf693f..4d01be3 100644 --- a/.github/workflows/CheckJavaVersion.yml +++ b/.github/workflows/CheckJavaVersion.yml @@ -29,7 +29,7 @@ jobs: $javaManifestUri = 'https://piston-meta.mojang.com/mc/game/version_manifest_v2.json'; $javaManifestcontent = Invoke-WebRequest -UseBasicParsing -Headers $ConnectionHeaders -Uri $javaManifestUri; $javaManifestJson = $javaManifestcontent | ConvertFrom-Json; - $localJavaManifestJson = Get-Content "MMS_Files\\java_version_prop_manifest.json" | ConvertFrom-Json; + $localJavaManifestJson = Get-Content "MMS_Files\\java_version_prop_manifest.json" | ConvertFrom-Json; $latestRelease = $javaManifestJson.versions | Select-Object -First 1; $latestLocalRelease = $localJavaManifestJson | Select-Object -Last 1; echo "javaVer=0" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append;