Jump to content

More server troubles

Go to solution Solved by EunSoo,
1 minute ago, waggythegeek said:

But how do i turn that into a script to run

I see. Open whatever text editor is on Linux and copy all that into it. Then save it as run.sh

So, i'm following this guide https://www.linode.com/docs/applications/game-servers/minecraft-on-debian-and-ubuntu and i was on "Installing Minecraft" step 3, and I have no clue what commands to execute in order to do what they are asking. Can someone help explain it to me?

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/
Share on other sites

Link to post
Share on other sites

1 minute ago, SCGazelle said:

Navigate to the folder where your server jar is then executed the command


java -Xms1024M -Xmx1536M -jar minecraft_server.1.10.2.jar -o true

You can change the RAM amount and the name of the jar file to whatever you have it set as. 

 

Nevermind. I see that you are creating a server using a 3rd party program. Lemme look at it for a bit

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047506
Share on other sites

Link to post
Share on other sites

3 minutes ago, SCGazelle said:

Navigate to the folder where your server jar is then executed the command


java -Xms1024M -Xmx1536M -jar minecraft_server.1.10.2.jar -o true

You can change the RAM amount and the name of the jar file to whatever you have it set as. 

But how do i turn that into a script to run

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047508
Share on other sites

Link to post
Share on other sites

1 minute ago, SCGazelle said:

I see. Open whatever text editor is on Linux and copy all that into it. Then save it as run.sh

so I have no clue how to do that. im a pleb. I'm using ubuntu server 16.04, what text editor do i have and what command do i use to start it?

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047529
Share on other sites

Link to post
Share on other sites

4 minutes ago, waggythegeek said:

so I have no clue how to do that. im a pleb. I'm using ubuntu server 16.04, what text editor do i have and what command do i use to start it?

Use something like Gedit, the Notepad (from Windows) equivalent for Linux. If you don't already have it then use this command

sudo apt-get install gedit

 

You can type gedit into the terminal to open it or by going to Applications → Accessories → Text Editor

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047540
Share on other sites

Link to post
Share on other sites

4 minutes ago, SCGazelle said:

Use something like Gedit, the Notepad (from Windows) equivalent for Linux. If you don't already have it then use this command


sudo apt-get install gedit

 

Um, does this operate purely in command line? Looks to be window-based, and I have no access to a desktop.

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047554
Share on other sites

Link to post
Share on other sites

7 minutes ago, waggythegeek said:

Um, does this operate purely in command line? Looks to be window-based, and I have no access to a desktop.

If you can't open a window, then an alternative is Vim which is command line based I think. Get it by using this command

sudo apt-get install vim

Like Gedit, run it by using the command vim

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047578
Share on other sites

Link to post
Share on other sites

1 minute ago, SCGazelle said:

If you can't open a window, then an alternative is Vim which is command line based I think. Get it by using this command


sudo apt-get install vim

 

Thank :P

yeah, im working with server ubuntu, so no GUI

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/708400-more-server-troubles/#findComment-9047581
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×