-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a support for magma maintained #2552
Conversation
scripts/start-deployMagmaMaintained
Outdated
|
||
resolveVersion | ||
|
||
if ! downloadUrl="https://github.com/magmamaintained/Magma-${VERSION}/releases/download/${MAGMA_MAINTAINED_TAG}/magma-${VERSION}-${FORGE_VERSION}-${MAGMA_MAINTAINED_TAG}-server.jar"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if-statement doesn't look right. You have a variable assignment from a literal as a condition. Did you confirm this runs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your reviewing!
I have tested that the server is correctly downloaded and started. But I have misunderstood the meaning of this if
condition. So, I removed that and just replaced it into plain assignment statement with empty variable validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@itzg @aruneko Actual download url is https://github.com/magmamaintained/Magma-1.12.2/releases/download/88659fb/Magma-1.12.2-88659fb-server.jar
Please remove FORGE_VERSION from the script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in #2562
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2562 (comment)
download link was correct for >1.18
|
||
!!! note | ||
|
||
There are limited base versions supported, so you will also need to set `VERSION`, such as "1.12.2", "1.18.2", "1.19.3", or "1.20.1". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be indented with four spaces to be rendered within the note.
Can view docs rendering at https://docker-minecraft-server--2552.org.readthedocs.build/en/2552/types-and-platforms/server-types/hybrids/#magma-maintained
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding that.
I have fixed that including other sections in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding that.
I have fixed that including other sections in this file.
Thanks. Yes, I have been gradually finding other places where I missed the indent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I have implemented a support for Magma maintained which is an alternative project for terminated Magma project. It supports a bit old versions of Minecraft "1.12.2", "1.18.2", "1.19.3", and "1.20.1".