mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
add minecraft bedrock server
This commit is contained in:
@@ -0,0 +1 @@
|
||||
worlds/
|
||||
@@ -0,0 +1,16 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt-get update && apt-get -y upgrade
|
||||
RUN apt-get install -y wget unzip curl
|
||||
|
||||
RUN useradd -m matt
|
||||
USER matt
|
||||
WORKDIR /home/matt
|
||||
|
||||
# from https://www.minecraft.net/en-us/download/server/bedrock (currently 1.21.23.01)
|
||||
RUN wget -O server.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.23.01.zip
|
||||
RUN unzip server.zip && rm server.zip
|
||||
|
||||
COPY --chown=matt:matt entry.sh ./
|
||||
COPY --chown=matt:matt server.properties ./
|
||||
COPY --chown=matt:matt permissions.json ./
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO graceful exit
|
||||
|
||||
LD_LIBRARY_PATH=. ./bedrock_server
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"permission": "operator",
|
||||
"name": "dragonlock2",
|
||||
"xuid": "2535438419596262"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,36 @@
|
||||
server-name=poopy
|
||||
gamemode=survival
|
||||
force-gamemode=false
|
||||
difficulty=hard
|
||||
allow-cheats=true
|
||||
max-players=20
|
||||
online-mode=true
|
||||
allow-list=false
|
||||
server-port=19132
|
||||
server-portv6=19133
|
||||
enable-lan-visibility=true
|
||||
view-distance=32
|
||||
tick-distance=4
|
||||
player-idle-timeout=0
|
||||
max-threads=4
|
||||
level-name=test
|
||||
level-seed=
|
||||
default-player-permission-level=visitor
|
||||
texturepack-required=false
|
||||
content-log-file-enabled=false
|
||||
compression-threshold=1
|
||||
compression-algorithm=zlib
|
||||
server-authoritative-movement=server-auth
|
||||
player-position-acceptance-threshold=0.5
|
||||
player-movement-action-direction-threshold=0.85
|
||||
server-authoritative-block-breaking-pick-range-scalar=1.5
|
||||
chat-restriction=None
|
||||
disable-player-interaction=false
|
||||
client-side-chunk-generation-enabled=true
|
||||
block-network-ids-are-hashes=true
|
||||
disable-persona=false
|
||||
disable-custom-skins=false
|
||||
server-build-radius-ratio=Disabled
|
||||
allow-outbound-script-debugging=false
|
||||
allow-inbound-script-debugging=false
|
||||
script-debugger-auto-attach=disabled
|
||||
Reference in New Issue
Block a user