Skip to content

PaperMC Minecraft Java Server - Fast Startup, Stable, Customizable, and Always Up-to-Date.

License

Notifications You must be signed in to change notification settings

Endkind/papermc

Repository files navigation

PaperMC - All Versions

This Docker image provides PaperMC Minecraft server versions. You can easily run a Minecraft server using this image.

Quick start

docker run -it -d -p 25565:25565 --name endkind-papermc -e MINECRAFT_EULA=true endkind/papermc:latest

This command starts a PaperMC server in detached mode (-d), maps port 25565 from the host to the container, and accepts the Minecraft EULA.

Installation and Configuration (Recommended)

docker volume create endkind-papermc

docker run -it -d -p 25565:25565 --name endkind-papermc -v endkind-papermc:/papermc -e MAX_RAM=3G -e MINECRAFT_EULA=true --restart=always endkind/papermc:latest

Using Specific Versions

When deploying your server for production or if you require version stability, consider using specific image versions. For example:

PaperMC 1.20.1

docker run -it -d -p 25565:25565 -e MINECRAFT_EULA=true endkind/papermc:1.20.1

By specifying a version like 1.20.1, you ensure that your server runs a known and tested version of PaperMC.

All Supported Cersions

  • latest uses always the newest version
  • 1.21, 1.21.1, 1.21.3, 1.21.4
  • 1.20, 1.20.1, 1.20.2, 1.20.4, 1.20.5, 1.20.6
  • 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
  • 1.18, 1.18.1, 1.18.2
  • 1.17, 1.17.1
  • 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5
  • 1.15, 1.15.1, 1.15.2
  • 1.14, 1.14.1, 1.14.2, 1.14.2, 1.14.3, 1.14.4
  • 1.13-pre7, 1.13, 1.13.1, 1.13.2
  • 1.12, 1.12.1, 1.12.2
  • 1.11.2
  • 1.10.2
  • 1.9.4
  • 1.8.8

Environment variables

You can customize your PaperMC server by setting the following environment variables:

  • MIN_RAM (default: 512M) - Minimum RAM allocated for the server.
  • MAX_RAM (default: 1G) - Maximum RAM allocated for the server.
  • MINECRAFT_EULA (default: false) - Set to true to accept the Minecraft EULA.
  • JAVA_FLAGS - Additional Java flags generated with flags.sh.
  • PAPERMC_FLAGS (default: --nojline) - Custom PaperMC server flags.
  • TZ (example: Europe/Berlin) - Set the time zone for the server.

These environment variables allow you to tailor your PaperMC server's configuration to your specific requirements. You can adjust memory allocation, specify custom Java flags, and configure various server settings to suit your needs.

How to build

Replace <version> with the desired version.

docker build --build-arg PAPERMC_VERSION=<version> -t endkind/papermc:<version> .

Additional Information

License

This project is licensed under the terms of the GNU General Public License v3.0 License.

Other License

This project includes code derived from the PaperMC project.

About

PaperMC Minecraft Java Server - Fast Startup, Stable, Customizable, and Always Up-to-Date.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published