Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

how to use msm instead of run.sh


ngmDragon
 Share

Recommended Posts

1 hour ago, Luis_ST said:

If you want to modify how the server is start the you need to write a custom Launcher

What are you talking about...

9 hours ago, ngmDragon said:

How the script generally works, how to add aditional parameters and especially how to start the server in background

It just starts the server jar, like Luis already pointed out. Starting something in the background would be general Linux knowledge and is not really in scope for this forum.

Link to comment
Share on other sites

Ok, you say "It just starts the server jar, like Luis already pointed out." so why do i need the script for that? msm is doing the same. it calls the jar with a few parameters. there are a few arguments in the "unix_args.txt" are all of these nessessary? can i simply additional args in the file?

Link to comment
Share on other sites

2 minutes ago, ngmDragon said:

there are a few arguments in the "unix_args.txt" are all of these nessessary?

yes they are nessessary

2 minutes ago, ngmDragon said:

can i simply additional args in the file?

basically you can, but only defined arguments are used inside the code

Link to comment
Share on other sites

thanks for the explanation,

as mentioned in the script the option "nogui" can be passed as command line arg. can the args for min and max ram be passed in this way too or should they be added to unix_args.txt?

is it necessary to have the complete forge server in the same place as the minecraft instance?

Link to comment
Share on other sites

3 minutes ago, ngmDragon said:

as mentioned in the script the option "nogui" can be passed as command line arg. can the args for min and max ram be passed in this way too or should they be added to unix_args.txt?

Arguments for the program can be passed to the run.sh / run.bat, e.g. ./run.sh nogui.

JVM arguments like the heap size (Xms / Xmx) go into the user_jvm_args.txt file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.