How do I open a minecraft server console that has been started in the background by a shell script?

So I'm running a Minecraft server off of a raspberry pi 4B. If I use a script to automatically start the server in the background, then there isn't a way I know of to access the server console. I can use the screen command to start it then have it run in the background, but to detach from a screen you have to use Ctrl+a,d which I can't do in a script to my knowledge so I can't automate it this way. Are there any solutions that would allow me to start the server on boot and access the server console when I need to?

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like