Code Monkey home page Code Monkey logo

minecraft-bedrock's Introduction

Minecraft Bedrock Server

Docker Repository on Quay

Minecraft Bedrock Server container image able to run with Docker, Podman, or Kubernetes

Quickstart

Docker

docker run -Pd quay.io/parflesh/minecraft-bedrock

Podman

podman run -Pd quay.io/parflesh/minecraft-bedrock

Kubernetes

kubectl create deployment minecraft-bedrock --image quay.io/parflesh/minecraft-bedrock
kubectl expose deployment minecraft-bedrock --type=NodePort --port 19132 --protocol UDP 

Openshift

oc new-app quay.io/parflesh/minecraft-bedrock --name minecraft-bedrock
oc expose dc/minecraft-bedrock --type=NodePort --port 19132 --protocol=UDP

Environment Variables

DATA_DIR (optional; Default: /data): Location to store configuration files and worlds data

MCPROP_* (optional): Parsed to generate server.properties
Note: Available options can be retrieved from minecract bedrock server how to file in Bedrock Server Download

Logic:

  • Strip MCPROP_
  • change to lowercase
  • convert _ to -

Examples:

  • MCPROP_LEVEL_NAME=myworld
    level-name=myworld
  • MCPROP_DIFFICULTY=3
    difficulty=3

Persisting Data

Mount $DATA_DIR to volume

Overrides config files

Note: mount any/all of the following files into /opt/minecraft_bedrock

  • server.properties
  • whitelist.json
  • permissions.json

Adding resource and behavior packs

Note: mount any/all as directory into /opt/minecraft_bedrock or store in DATA_DIR

  • behavior_packs
  • resource_packs

minecraft-bedrock's People

Contributors

parflesh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.