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

How to disable multiplayer when launching the Minecraft? #61

Closed
EvanEvan-17 opened this issue Jul 31, 2022 · 8 comments
Closed

How to disable multiplayer when launching the Minecraft? #61

EvanEvan-17 opened this issue Jul 31, 2022 · 8 comments
Labels
enhancement New feature or request
Projects

Comments

@EvanEvan-17
Copy link

I'm trying to make my own launcher with my OWN Parental Control feature, and I'm looking on how to disable multiplayer MANUALLY when launching Minecraft (if parent choose to disable it for their child). Is it possible? Because this is help many parents who don't want their child to play multiplayer on Minecraft, but still want their child to play multiplayer on other games. Because when they change their child's Xbox Account Settings, it will disable multiplayer in MOST Xbox Games.

@EvanEvan-17 EvanEvan-17 added the enhancement New feature or request label Jul 31, 2022
@AlphaBs
Copy link
Member

AlphaBs commented Aug 2, 2022

this option is unavailable on current version.

I'll add this feature on next version.

@EvanEvan-17
Copy link
Author

EvanEvan-17 commented Aug 2, 2022

Is this possible? If you can, please make next version immediately. I need it. It is through Java argument?

@EvanEvan-17
Copy link
Author

I need this feature, please make it immediately if this is possible, if not possible, then tell me, but IF POSSIBLE, ADD IT NOW! I NEED IT!

@AlphaBs
Copy link
Member

AlphaBs commented Aug 4, 2022

sorry, I don't have enough time for this project. I think I can start working on it next week.

@EvanEvan-17
Copy link
Author

OK, so just tell me how this is possible? I want to start searching, but you can start working on next week, but please give me how does it possible? I want to know. Thank you.

@AlphaBs
Copy link
Member

AlphaBs commented Aug 4, 2022

decompile latest minecraft using mcp and find argument name like "disableMultiplayer" (i can't remember exact value)

add these argument to Process.StartInfo.Argument

ex)

var proc = await launcher.CreateProcess(~~~);
proc.StartInfo.Argument += " --disableMultiplayer");
proc.Start();

note: disabling multiplayer feature is only available on latest version (1.17, 1.18, 1.19)

@EvanEvan-17
Copy link
Author

OK, it is now working! THANK YOU VERY MUCH for your help. And it's look like you no longer need to do something, but if you can add this feature directly, then it's good. You can add it to next version in the next week if you don't have a time in this week.

@AlphaBs AlphaBs added this to To do in Todo Aug 15, 2022
@AlphaBs
Copy link
Member

AlphaBs commented Jun 7, 2024

ExtraGameArguments has been added into MLaunchOption

@AlphaBs AlphaBs closed this as completed Jun 7, 2024
Todo automation moved this from To do to Done Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Todo
Done
Development

No branches or pull requests

2 participants