How To Restart Server Minecraft, How To Restart Server In Game

Please excuse me for my inexperience, I am very new to this.I set up a server on Digital Ocean for Minecraft earlier today. I ran the command to create the world with java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.jar nogui, and created a screen.It gave me access to the console where I could type like /op and other commands. Later on, I shut down, and now when I try to rejoin, I”m not sure how to get back to that console. I have more than 1 person on the server, who is on the console right now – I don”t know if that should cause it any issue. When I retry to open the console with the command java -jar minecraft_server.jar It says there is already a server running (which there is) but I just want to get back to the console.

Thank you in advance.

*

If this is a linux vserver or root server, you can use the “screen” tool to access the minecraft console again.

Đang xem: How to restart server minecraft

Create a new startup script (start.sh) in the server directory to launch the JAR:

#!/bin/shscreen -d -m -S “minecraft_screen” java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.jar noguiOpen your terminal and execute the following in the directory:

chmod +x start.shRun your start up script:

./start.shTo access the minecraft screen use the command “screen -r”.

To leave the minecraft screen press Ctrl + A + D

*

*

As a player logged into the server, stop the server by typing /stop. This will stop and close the server. Now proceed back to your hosting service and start the console the same way you did the first time. If it worked this way the first time, i can imagine itll work the second time.

Read more: How To Copy Text In Wow ” With Prat, Copy From Chat

*

Thanks for contributing an answer to Stack Overflow!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

Read more: How To Make Floating Ladders In Minecraft 1, How To Make Floating Ladders

To learn more, see our tips on writing great answers.

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged java terminal minecraft or ask your own question.

Java: Minecraft: Any way to cause java to “brain dump” to a fifo while it's running?

*

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.3.25.38898

Leave a Comment