1

I have a minecraft server running as a daemon. When you run it normally (not as a daemon), you can type commands into the console. How can you get to the console so I can send it commands while it's running as a daemon?

2

I would recommend running something like this in a screen session instead. The benefit of screen is that you can reattach to the console whenever you like to run a command, then send it to the background again as needed.

  • First type screen to start a session.
  • Run your minecraft server as you would in standalone mode.
  • Press Ctrla Ctrld.

You can now close your terminal session and minecraft or whatever software you use will continue to run in the background. Running screen -r will reattach you to this session to run commands.

Your Answer

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 or ask your own question.