CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
201 stars 38 forks source link

AMP downloading experimental PaperMC builds despite set to "Stable" release stream #1092

Open FrozenSoda opened 1 month ago

FrozenSoda commented 1 month ago

Bug Report

System Information

Operating System

Ubuntu Server 22.04.4

AMP Version and Build Date

2.5.0.8 - 20240502.1

AMP Release Stream

Mainline

I confirm:

Symptoms

What are you trying to do?

Update a PaperMC (Minecraft Java Edition) server while "Release Stream" is set to "Stable".

What are you expecting to happen?

That the latest stable Paper build, for the latest Minecraft version that has available stable Paper builds, is downloaded.

What is actually happening?

When the latest Paper build for the latest Minecraft version is classified as "experimental", which is often the case whenever a new Minecraft version has just been released (such as 1.20.6 as of writing this), AMP will download that build even though it is not "stable".

Reproduction

This issue can only be reproduced when the latest Paper build for the latest Minecraft version is classified as "experimental".

  1. Create a Minecraft Java Edition instance with "After Creation" set to "Do Nothing".
  2. Click "Manage" on the instance, go to "Configuration > Server Settings".
  3. Change "Server Type" to "Paper".
  4. Change "Release Stream" to "Beta" then back to "Stable" to mitigate #1091.
  5. Start the server and observe that an experimental Paper build is being used according to https://papermc.io/downloads/paper.

The issue can be mitigated by specifying a specific Minecraft version in the settings, but if an experimental Paper build would be released for that version, AMP would update to it.

Maybe AMP needs to specify the update channel when retrieving the latest Minecraft version and Paper build https://docs.papermc.io/misc/downloads-api

ssfdre38 commented 1 month ago

Dude. You are double posting. Check your other issue. I already commented on it

FrozenSoda commented 1 month ago

Dude. You are double posting. Check your other issue. I already commented on it

These are two separate issues that has nothing to do with each other.