Re-work install script
Add new java images and update to labeled java format
Latest version hard coded to 1.18.2 as there is no API to find latest supported MC version
* Allow Installation from zip archive file
*Better File Finding for forge installer and server.jar
* chore: clean up and update to PTDL_V2
Co-authored-by: softwarenoob <admin@softwarenoob.com>
Paper api endpoints have been updated to api.papermc.io/v2 from the old papermc.io/api/v2
This is a copy of default Paper egg from the Panel, but without PTDL_V2 changes, which requires Panel 1.8+ that has not been released yet.
Add check for latest `[[ "${MC_VERSION}" == "latest" ]]`.
Previously, it was only checking for exact versions or empty value, and I completely forgot to test latest.
Resolves#1516