Skip to content
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

Merged
merged 5 commits into from
Dec 19, 2023
Merged

Conversation

aruneko
Copy link
Contributor

@aruneko aruneko commented Dec 18, 2023

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".


resolveVersion

if ! downloadUrl="https://github.com/magmamaintained/Magma-${VERSION}/releases/download/${MAGMA_MAINTAINED_TAG}/magma-${VERSION}-${FORGE_VERSION}-${MAGMA_MAINTAINED_TAG}-server.jar"; then
Copy link
Owner

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?

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusted in #2562

Copy link
Contributor

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".
Copy link
Owner

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

Copy link
Contributor Author

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.

Copy link
Owner

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.

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@itzg itzg merged commit 3ca66db into itzg:master Dec 19, 2023
5 checks passed
@aruneko aruneko deleted the support_magma_maintained branch December 20, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants