felixklauke / paper-docker

PaperSpigot Docker. Easy to use and clean docker image for running paper spigot servers in docker containers using OpenJDK. WIP
https://www.felix-klauke.com
MIT License
55 stars 29 forks source link

Access to the server console #49

Closed acs closed 4 years ago

acs commented 4 years ago

Is it possible to start the server from a screen so the server console could be accessed?

Something like:

screen -dmS minecraft java -Xms512M -Xmx950M -jar spigot-1.15.2.jar

Thanks @FelixKlauke for your great dockering work!

We are using it at: https://github.com/juntosdesdecasa/minecraft/tree/develop/server

felixklauke commented 4 years ago

Hey,

I'm happy to see my work can help you. You can access the console by attaching to the docker container, e.g.:

docker attach minecraft

If that isn't suitable for you you can consider using RCON.