All Projects → mtoensing → Docker-Minecraft-PaperMC-Server

mtoensing / Docker-Minecraft-PaperMC-Server

Licence: MIT License
Starts a Minecraft PaperMC 1.18 server

Programming Languages

Dockerfile
14818 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to Docker-Minecraft-PaperMC-Server

RaspberryPiMinecraft
Configuration files and performance testing scripts to setup and optimize a dedicated Minecraft (PC Java version) server
Stars: ✭ 179 (+123.75%)
Mutual labels:  minecraft-server, papermc
Paper
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Stars: ✭ 5,293 (+6516.25%)
Mutual labels:  minecraft-server, papermc
paperweight-test-plugin
test plugin for paperweight-userdev
Stars: ✭ 34 (-57.5%)
Mutual labels:  minecraft-server, papermc
pluGET
📦 Powerful Package manager which updates plugins & server software for minecraft servers
Stars: ✭ 87 (+8.75%)
Mutual labels:  minecraft-server, papermc
mindwendel
Create a challenge. Ready? Brainstorm. mindwendel helps you to easily brainstorm and upvote ideas and thoughts within your team.
Stars: ✭ 22 (-72.5%)
Mutual labels:  docker-container
nocom-explanation
block game military grade radar
Stars: ✭ 544 (+580%)
Mutual labels:  papermc
vrnetlab
Run virtual routers with docker
Stars: ✭ 879 (+998.75%)
Mutual labels:  docker-container
docker-predictionio
Docker container for PredictionIO-based machine learning services
Stars: ✭ 75 (-6.25%)
Mutual labels:  docker-container
doctrine-expressive-example
Example PHP REST API application built with Expressive using Doctrine ORM, complete with associations, pagination, and DB connectivity inside Docker containers. Used in #Beachcasts videos on YouTube.
Stars: ✭ 36 (-55%)
Mutual labels:  docker-container
xiaomi-r3g-openwrt-builder
OpenWrt builder for any supported routers using Docker. Scheduled to run weekly
Stars: ✭ 25 (-68.75%)
Mutual labels:  docker-container
docker-atlassian
A docker-compose orchestration for JIRA Software and Confluence based on docker containers.
Stars: ✭ 13 (-83.75%)
Mutual labels:  docker-container
docker-qbittorrentvpn
Docker container which runs a qBittorent-nox client with an optional WireGuard or OpenVPN connection
Stars: ✭ 76 (-5%)
Mutual labels:  docker-container
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (-73.75%)
Mutual labels:  docker-container
yamipa
Yet Another Minecraft Image Placing Addon
Stars: ✭ 19 (-76.25%)
Mutual labels:  papermc
docker-hubot
Docker container for running hubot in a container.
Stars: ✭ 17 (-78.75%)
Mutual labels:  docker-container
graph-vl
Self hosted identity verification layer with GraphQL.
Stars: ✭ 25 (-68.75%)
Mutual labels:  docker-container
Node-MineiaGo
A proxy to bridge Bedrock (Minecraft Pocket Edition, Minecraft Console Editions and Windows 10 Edition) with Minecraft Java Edition.
Stars: ✭ 15 (-81.25%)
Mutual labels:  minecraft-server
docker-cakephp
Example Dockerfile for deploying a CakePHP application in a Docker container, able to connect to a remote database with database-based sessions.
Stars: ✭ 31 (-61.25%)
Mutual labels:  docker-container
Minecraft-Server-Status
✅一个用于显示服务器在线信息及其他内容的网站
Stars: ✭ 22 (-72.5%)
Mutual labels:  minecraft-server
ScriptableMC-Engine
Create TypeScript/JavaScript plugins for Minecraft 1.16 Bukkit/Spigot/Paper
Stars: ✭ 36 (-55%)
Mutual labels:  minecraft-server

Docker Minecraft JAVA PaperMC Server 1.18

Docker Minecraft PaperMC server for 1.18, 1.17 and 1.16 (deprecated!)

Minecraft 1.18

docker pull marctv/minecraft-papermc-server:1.18

See #33 for more information.

Quick Start

docker pull marctv/minecraft-papermc-server
docker run \
  --rm \
  --name mcserver \
  -e MEMORYSIZE='1G' \
  -v /homes/joe/mcserver:/data:rw \
  -p 25565:25565 \
-i marctv/minecraft-papermc-server:latest
docker attach mcserver

How do I update the container?

  • Re-download the image from the docker
  • Stop the container
  • Clear the container
  • Start the container

Volume

You can use volumes to store data persistantly, for example:

docker run --rm \
	-p 25565:25565 \
	-v <full path to folder where you want to store the server files>:/data:rw \
	marctv/minecraft-papermc-server:latest

Run as non-root user

You can get the desired UID/GID (xxx) with the ID command (id username) then add the following to your docker run command:

-e PUID=xxx
-e PGID=xxx

Docker Compose

If you prefer to use docker-compose, use the following commands:

Start the server:

docker-compose up

Stop the server:

docker-compose stop

Issue server commands after attaching to the container:

docker attach mcserver
# then you can type things like "list"
list
# which will show the current players online or
help
# to see all the commands available

How to use the Makefile with Docker Compose

Additionally, a Makefile is provided to easily start, stop, and attach to the container.

make start     # equivalent to `docker-compose up -d --build`
make stop      # equivalent to `docker-compose stop --rmi all --remove-orphans`
make attach    # equivalent to `docker attach mcserver`
make help      # prints a help message

Environment variable

MEMORYSIZE = 1G

Not more than 70% of your RAM for your Container! This is important! This is the RAM your Minecraft Server will use within the container WITHOUT the operating system.

TZ = Europe/Berlin

Sets the timezone for the container. A list of valid values can be found on wikipedia: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Tutorial

Tutorial (german) https://marc.tv/anleitung-stabiler-minecraft-server-synology-nas/

Watch the video

https://youtu.be/LtAQiTwLgak

Credits

On GitHub https://github.com/mtoensing/Docker-Minecraft-PaperMC-Server

This server is live here: https://mc.marc.tv

Based on the the work of Felix Klauke Thanks for your help!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].