CubeCoders / AMP

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

Minecraft server "Release Stream" not always using displayed value #1091

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?

Observe/change "Release Stream" in "Configuration > Server Settings" for a Paper Minecraft Java server.

What are you expecting to happen?

That the displayed value is the one being used.

What is actually happening?

Reproduction

  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" and let "Release Stream" be on "Stable" without touching it.
  4. Click "Download / Update".
  5. Start the server and observe that the value of the option "Paper Version" is being used contrary to its description.
  6. Stop the server.
  7. Change "Release Stream" to "Beta" then back to "Stable".
  8. Click "Download / Update".
  9. Start the server again and observe that "Paper Version" is now ignored (which seems correct according to its description) - the latest Minecraft version is used.
ssfdre38 commented 1 month ago

Papermc needed an update and it just has be right now. Right now, you would need to download the server file from papermc and upload it to your Minecraft instance.

FrozenSoda commented 1 month ago

Papermc needed an update and it just has be right now. Right now, you would need to download the server file from papermc and upload it to your Minecraft instance.

I think you misunderstood what I wrote - the issue is that the behavior of the setting "Release Stream" is not consistent with its displayed value for newly created instances. If you change it to "Beta" then immediately back to "Stable" like it was before, the behavior is different.

ssfdre38 commented 1 month ago

Yeah the url in amp needed an update for it. It was changed.

FrozenSoda commented 1 month ago

Yeah the url in amp needed an update for it. It was changed.

Under the option "Paper Version" it says: When using the 'specific version' release stream, which version of the Paper server to download. Thus, I assume the option is only applicable when the release stream is set to "Specific Version".

However, for newly created instances, the option is also used for the "Stable" release stream, until you at least once change the "Release Stream" option.

I don't know what that has to do with any URL, it seems like a bug in the settings UI.

IceOfWraith commented 1 month ago

You can disregard what Daniel is saying. I'm the one who changed the URI and indeed, it has nothing to do with this issue.