From 9462ead5b8496c5a18f26dd6965c807a21618d5e Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 30 Mar 2020 18:52:12 +0200 Subject: [PATCH] Persist ops, whitelist and properties --- Server/ops.txt | 3 --- Server/white-list.txt | 3 --- docker-compose.yml | 3 +++ ops.txt | 3 +++ Server/server.properties => server.properties | 4 ++-- white-list.txt | 3 +++ 6 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 Server/ops.txt delete mode 100644 Server/white-list.txt create mode 100644 ops.txt rename Server/server.properties => server.properties (94%) create mode 100644 white-list.txt diff --git a/Server/ops.txt b/Server/ops.txt deleted file mode 100644 index 38ac4df..0000000 --- a/Server/ops.txt +++ /dev/null @@ -1,3 +0,0 @@ -Lorenz_von_Baum -derFliXX -ssspidermonkey diff --git a/Server/white-list.txt b/Server/white-list.txt deleted file mode 100644 index 38ac4df..0000000 --- a/Server/white-list.txt +++ /dev/null @@ -1,3 +0,0 @@ -Lorenz_von_Baum -derFliXX -ssspidermonkey diff --git a/docker-compose.yml b/docker-compose.yml index 326613d..99906d1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,9 @@ services: build: . volumes: - ./world:/server/world + - ./ops.txt:/server/ops.txt + - ./white-list.txt:/server/white-list.txt + - ./server.properties:/server/server.properties ports: - "0.0.0.0:25565:25565" restart: always diff --git a/ops.txt b/ops.txt new file mode 100644 index 0000000..a8b10fe --- /dev/null +++ b/ops.txt @@ -0,0 +1,3 @@ +derflixx +ssspidermonkey +lorenz_von_baum diff --git a/Server/server.properties b/server.properties similarity index 94% rename from Server/server.properties rename to server.properties index 229c43b..7e438b8 100644 --- a/Server/server.properties +++ b/server.properties @@ -1,5 +1,5 @@ #Minecraft server properties -#Mon Mar 30 18:15:54 CEST 2020 +#Mon Mar 30 16:49:52 UTC 2020 generator-settings= allow-nether=true level-name=world @@ -23,7 +23,7 @@ difficulty=2 gamemode=0 max-players=10 spawn-monsters=true -generate-structures=true view-distance=10 +generate-structures=true spawn-protection=16 motd=Lol I bin da Minecraft Server diff --git a/white-list.txt b/white-list.txt new file mode 100644 index 0000000..a8b10fe --- /dev/null +++ b/white-list.txt @@ -0,0 +1,3 @@ +derflixx +ssspidermonkey +lorenz_von_baum