PaperMC with Amazon Corretto OpenJDK. Multiple versions in Docker images.
- Dockerfile 62.8%
- Shell 37.2%
| server | ||
| .gitignore | ||
| build-and-push.sh | ||
| build.sh | ||
| compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| env.example | ||
| LICENSE | ||
| README.md | ||
PaperMC
PaperMC server with Amazon Corretto JRE 21.
Packaged in Docker.
Setup
Copy env.example to .env and edit as needed.
Run docker compose up -d to start the server. Its files will be in the
server directory.
Running Commands
To run a command on the server, call mcrcon inside the container with the
quoted command as an argument.
For example, to op "player123", run
docker compose exec papermc mcrcon "op player123".
Stopping the Server
To stop the server gracefully, run docker compose exec papermc mcrcon stop.