AMP downloading experimental PaperMC builds despite set to "Stable" release stream
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:
- [x] that I have searched for an existing bug report for this issue.
- [x] that I am using the latest available version of AMP.
- [x] that my operating system is up-to-date.
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".
- Create a Minecraft Java Edition instance with "After Creation" set to "Do Nothing".
- Click "Manage" on the instance, go to "Configuration > Server Settings".
- Change "Server Type" to "Paper".
- Change "Release Stream" to "Beta" then back to "Stable" to mitigate #1091.
- 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
Dude. You are double posting. Check your other issue. I already commented on it
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.