I'm fairly new to AMP and Minecraft servers in general, but very familiar with Linux, Unix, VMs, CLI stuff, and IT in general. Currently trying to get a 1.15.2 Minecraft instance set up with Spigot.
I have installed AMP using the "wget getamp.sh" command on an Ubuntu 20.04 LTS instance.
Here are my current settings:
Server Type: "Spigot" Release Stream: "Specific Version" Spigot/CraftBukkit Version: [empty] Server JAR: "[Autoselect]"
Under "Spigot Version", there are no items. If I switch back to "Official", I can see the different official Minecraft versions.
In the console, it says:
Exception in thread "main" joptsimple.OptionMissingRequiredArgumentException: Option rev requires an argument
So clearly it's failing to provide the version in the command to build it like it should:
java -jar BuildTools.jar --rev 1.15.2 because the Spigot versions aren't being populated for some reason. However, I don't see any way to override this manually.
Switching from "Specific Version" to "Stable" seems to work as expected, since I believe it's providing
--rev latest correctly. I can see it build, then end off with the following:
Success! Everything completed successfully. Copying final .jar files now. Copying spigot-1.15.2-R0.1-SNAPSHOT.jar to /home/amp/.ampdata/instances/Minecraft02/Minecraft/spigotbuild/./spigot-1.15.2.jar - Saved as ./spigot-1.15.2.jar
I would prefer to be able to manage specific versions just in-case we need to roll the server back to a previous version, keep it on a specific version, use an older version, etc. I also am aware I could build the server outside the VM instance and then pass it in, but two things:
1) I would prefer to have it easily configurable from the UI as it should be
2) I would prefer to not have to use the FTP of AMP, which seems to be limited to 80 KB/s for some reason. This would be a nightmare for uploading a whole world and JAR file. I also am not sure if I can access the VM manually in the actual server's filesystem to transfer files that way.
So I'm fine with doing stable for now, but am I missing something or this is a legitmate bug? Let me know if you need any other information.