-
Notifications
You must be signed in to change notification settings - Fork 20
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
Join server directly after launching the game #8
Comments
Sorry but that's not possible and I'm not sure where you got the idea from that it is. In order to support this I would have to write specific code for every single Minecraft version. You could however install fabric/forge for 1.19 and use the HMC-Specifics. Then, after launching the game, you can execute the following commands:
Another option would be to get 1.19 mappings and do it programmatically using the -commands flag and its reflection commands without the HMC-Specifics but that's even worse. |
A custom minecraft launcher named HMCL could join server automatically(sad it didn't support command start), by add '--server' 'x.x.x.x' '--port' '25565' args or edit in config gui
Sorry for the length, I have no idea to cut short:( |
Ohhh, I didn't realize this was a Minecraft feature. hmc.gameargs=--server x.x.x.x --port 25565 |
i believe it is --server ip:port, not --server ip --port port |
The behavior seems to vary depending on version. Passing flags via The 1.20.4 client just prints this line to logs on startup: |
True, on 1.20.4 it seems to be a single argument: |
i want to join server automatically
but
launch 1.19 -commands "--server 1.1.1.1"
launch 1.19 -commands "--server" "1.1.1.1"
launch 1.19 -commands "server 1.1.1.1"
Not working at all
The text was updated successfully, but these errors were encountered: