Skip to content

Create launcher to parse vmoptions and start server #61

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tonygermano
Copy link
Member

@tonygermano tonygermano commented Apr 28, 2025

closes #2

See README for details

Main server build script and github actions have been modified to build and include the tool by default.

closes #2

See README for details

Signed-off-by: Tony Germano <tony@germano.name>
@tonygermano tonygermano requested review from jonbartels, a team, kayyagari, gibson9583, ssrowe, kpalang and pacmano1 and removed request for a team April 28, 2025 13:33
@tonygermano
Copy link
Member Author

This has worked well in my testing (only on linux,) but it wasn't really what I intended for it to be. I figured I'd get it out for review so we can use it in the short term even if we end up replacing it with something else down the road. My plan was for it to be compiled to native using graalvm native-image, but I was having issues with that. It took a very long time to compile (around 6 minutes, compared to a few seconds for the jar version) produced a binary over 50MB in size, and then it was throwing exceptions during the shutdown hook.

So, I decided for now it would just run using java (can be the same java version as what ultimately launches the server or a different one.)

@tonygermano tonygermano marked this pull request as draft May 4, 2025 03:40
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.

Create server launcher to replace mcserver
3 participants