Persist ops, whitelist and properties

This commit is contained in:
Valentin Brandl 2020-03-30 18:52:12 +02:00
parent 4f7c2073f8
commit 9462ead5b8
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D
6 changed files with 11 additions and 8 deletions

View File

@ -1,3 +0,0 @@
Lorenz_von_Baum
derFliXX
ssspidermonkey

View File

@ -1,3 +0,0 @@
Lorenz_von_Baum
derFliXX
ssspidermonkey

View File

@ -5,6 +5,9 @@ services:
build: . build: .
volumes: volumes:
- ./world:/server/world - ./world:/server/world
- ./ops.txt:/server/ops.txt
- ./white-list.txt:/server/white-list.txt
- ./server.properties:/server/server.properties
ports: ports:
- "0.0.0.0:25565:25565" - "0.0.0.0:25565:25565"
restart: always restart: always

3
ops.txt Normal file
View File

@ -0,0 +1,3 @@
derflixx
ssspidermonkey
lorenz_von_baum

View File

@ -1,5 +1,5 @@
#Minecraft server properties #Minecraft server properties
#Mon Mar 30 18:15:54 CEST 2020 #Mon Mar 30 16:49:52 UTC 2020
generator-settings= generator-settings=
allow-nether=true allow-nether=true
level-name=world level-name=world
@ -23,7 +23,7 @@ difficulty=2
gamemode=0 gamemode=0
max-players=10 max-players=10
spawn-monsters=true spawn-monsters=true
generate-structures=true
view-distance=10 view-distance=10
generate-structures=true
spawn-protection=16 spawn-protection=16
motd=Lol I bin da Minecraft Server motd=Lol I bin da Minecraft Server

3
white-list.txt Normal file
View File

@ -0,0 +1,3 @@
derflixx
ssspidermonkey
lorenz_von_baum