1

Whats going on with my server command

weirdo_newb09 10/18/21 11:23 am
126
10/18/2021 12:52 pm
so im starting a minecraft server and i need to type in a command as soon as i press a key it just closes
Posted by
weirdo_newb09
Level 5 : Apprentice Miner
0

  Have something to say?

JoinSign in

1

Bertiecrafter
10/18/2021 11:48 am
Level 72 : Legendary System
Assuming windows:
You're probably running the command outside the terminal. If you're in a script (.bat or .sh), simply put "PAUSE" on a new line to keep the window open until a key press. Otherwise in the folder with the server .jar, click File (top left corner) > Open Windows Powershell. A terminal will open which allows you to enter multiple commands and see the output of previous commands.

A reason why a server start command exits immediately is because of an error. Once you figured out how to keep the output open, you'll probably have to trouble shoot it to figure out how to actually keep the server running.
2

Welcome