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?
How do I open a minecraft server console that has been started in the background by a shell script?
|