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

Forge Servers 1.17+ Installation Impossible #246

Open
TheOnlyMann opened this issue Sep 21, 2023 · 5 comments
Open

Forge Servers 1.17+ Installation Impossible #246

TheOnlyMann opened this issue Sep 21, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation help Issue to help other users on a common problem

Comments

@TheOnlyMann
Copy link

Okay, the title is a bit of a bait... but hear me out.

How to Run Forge 1.17+ Servers with MSH
(This guide was written in Ubuntu 22.04 LTS, and thus might differ in windows)

  1. put run.sh in Commands-"StartServer":
    replace the entire "java xxx xxx" comment with "bash run.sh"
    if the starting server script is something else(start.sh) put that instead
    if you're on windows, just make that script execute the run.bat instead

  2. get a ""fake"" server.jar from the internet, renaming it, or just grab a fabric server.jar file
    easiest way without hassle is just downloading the minecraft vanila server jar from mojang's official websites.

  3. put all other parameters in, EXCEPT for the "StartServerParam" within Commands
    all other parameters are gonna be used for the msh. StartserverParam is used for server launch only, which we don't put in msh-config.json. instead follow 4th rule

  4. instead, edit the user_jvm_args.txt instead to get the desired JVM to your server
    this sets the server's launch jvm arguments, however it differs from certain pre-made server packs, so watch out.

This way, it can launch without msh making a error noise and still function well.

@gekigek99 gekigek99 added documentation Improvements or additions to documentation help Issue to help other users on a common problem labels Sep 21, 2023
@llleeeqi

This comment was marked as resolved.

@llleeeqi

This comment was marked as resolved.

@llleeeqi
Copy link

llleeeqi commented Mar 23, 2024

I was not very familiar with it, and MSH did not output Minecraft logs. I thought it was not running properly. After adjusting the log level, everything became clear

@vrcoelho
Copy link

Thank you so much for creating this issue. I was trying to figure it out myself for 1.20.

@gekigek99
Copy link
Member

Thanks @TheOnlyMann for the great guide... do you have any advice on how to make people's life easier programmatically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help Issue to help other users on a common problem
Projects
None yet
Development

No branches or pull requests

4 participants