Răsfoiți Sursa

1.7.10, 1.12.2 and new 1.16.1

Tobias M. (Manjaro) 5 ani în urmă
părinte
comite
756f8b8009
4 a modificat fișierele cu 152 adăugiri și 10 ștergeri
  1. 1 0
      MC-1.07.10/README.md
  2. 1 0
      MC-1.12.2/README.md
  3. 141 0
      MC-1.16.1/docker-compose.yml
  4. 9 10
      README.md

+ 1 - 0
MC-1.07.10/README.md

@@ -0,0 +1 @@
+# Not Working

+ 1 - 0
MC-1.12.2/README.md

@@ -0,0 +1 @@
+# Not Working

+ 141 - 0
MC-1.16.1/docker-compose.yml

@@ -0,0 +1,141 @@
+version: '3'
+
+# docker-compose up -d
+
+services:
+  minecraft-server:
+    ports:
+      - "11611:25565"
+
+    environment:
+      EULA: "true"
+      VERSION: "1.16.1"
+      # on Type Forge, by default the container will run the RECOMMENDED version of Forge server
+      #TYPE: FORGE
+      # ...but you can also choose to run a specific version with:
+      #FORGEVERSION: 31.2.36
+
+      # By default the server configuration will be created and set based on the following environment variables,
+      #   but only the first time the server is started.
+      #   If the server.properties file already exists, the values in them will not be changed.
+      #   If you would like to override the server configuration each time the container starts up,
+      #   you can set the OVERRIDE_SERVER_PROPERTIES environment variable like:
+      OVERRIDE_SERVER_PROPERTIES: "true"
+
+      SERVER_NAME: MC-1.16.1
+      SERVER_PORT: 25565
+      DIFFICULTY: 0
+      #WHITELIST: user1,user2
+      OPS: Reaver1202,SuminoSempai
+      #ICON: http://..../some/image.png
+
+      # RCRON
+      #ENABLE_RCON: "true"
+      #RCON_PASSWORD: testing
+      #RCON_PORT: 25575
+
+      # By default the query port will be 25565 (UDP)
+      #ENABLE_QUERY: "true"
+
+      MAX_PLAYERS: 5
+
+      # maximum possible size in blocks, expressed as a radius, that the world border can obtain
+      #MAX_WORLD_SIZE: 10000
+
+      ALLOW_NETHER: "true"
+      ANNOUNCE_PLAYER_ACHIEVEMENTS: "true"
+      ENABLE_COMMAND_BLOCK: "true"
+
+      # Force players to join in the default game mode.
+      #   "false" - Players will join in the gamemode they left in.
+      #   "true" - Players will always join in the default gamemode.
+      FORCE_GAMEMODE: "false"
+
+      # Defines whether structures (such as villages) will be generated.
+      #  "false" - Structures will not be generated in new chunks.
+      #  "true" - Structures will be generated in new chunks.
+      GENERATE_STRUCTURES: "true"
+
+      # If set to "true", players will be set to spectator mode if they die.
+      HARDCORE: "false"
+
+      # If set to "false", the server will not send data to snoop.minecraft.net server.
+      SNOOPER_ENABLED: "false"
+
+      MAX_BUILD_HEIGHT: 256
+
+      # The maximum number of milliseconds a single tick may take before the server watchdog stops the server with the message,
+      #  A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown.
+      #  Once this criteria is met, it calls System.exit(1). Setting this to -1 will disable watchdog entirely
+      MAX_TICK_TIME: 60000
+
+      # Determines if animals will be able to spawn.
+      SPAWN_ANIMALS: "true"
+      # Determines if monsters will be spawned.
+      SPAWN_MONSTERS: "true"
+      # Determines if villagers will be spawned.
+      SPAWN_NPCS: "true"
+
+      # Sets the area that non-ops can not edit (0 to disable)
+      SPAWN_PROTECTION: 0
+
+      # Sets the amount of world data the server sends the client, measured in chunks
+      #   in each direction of the player (radius, not diameter). It determines the server-side viewing distance.
+      VIEW_DISTANCE: 10
+
+      #SEED: 2101715061381480750
+
+      # By default, Minecraft servers are configured to run in Survival mode.
+      # creative, survival, adventure, spectator
+      MODE: survival
+      # message of the day, shown below each server entry in the UI
+      MOTD: Have a nice day! Tobi
+      # By default, servers are created with player-vs-player (PVP) mode enabled.
+      PVP: "false"
+
+      # DEFAULT, FLAT, LARGEBIOMES, AMPLIFIED, CUSTOMIZED, BUFFET
+      LEVEL_TYPE: DEFAULT
+      #LEVEL_TYPE: biomesoplenty
+
+
+      #### MODS
+      # Like the WORLD option above, you can specify the URL of a "mod pack" to download and install into mods for Forge or plugins
+      # for Bukkit/Spigot. To use this option pass the environment variable MODPACK, such as the example below.
+      # NOTE: The referenced URL must be a zip file with one or more jar files at the top level of the zip archive. Make sure the
+      # jars are compatible with the particular TYPE of server you are running.
+      #MODPACK: http://www.example.com/mods/modpack.zip
+      # When the option above is specified (MODPACK) you can also instruct script to delete old mods/plugins prior to installing
+      # new ones. This behaviour is desirable in case you want to upgrade mods/plugins from downloaded zip file.
+      #REMOVE_OLD_MODS: true
+
+      # You may also download individual mods using the MODS environment variable and supplying the URL to the jar files.
+      # Multiple mods/plugins should be comma separated.
+      #MODS: https://www.example.com/mods/mod1.jar,https://www.example.com/mods/mod2.jar
+      # WARNING: All content of the mods or plugins directory will be deleted before unpacking new content from the MODPACK or MODS.
+
+      # Allows users to use flight on your server while in Survival mode, if they have a mod that provides flight installed.
+      ALLOW_FLIGHT: "true"
+
+      # Memory Limit
+      MEMORY: 4G
+      INIT_MEMORY: 4G
+      MAX_MEMORY: 4G
+
+      # JVM Options
+      # General JVM options can be passed to the Minecraft Server invocation by passing a JVM_OPTS environment variable.
+      # Options like -X that need to proceed general JVM options can be passed via a JVM_XX_OPTS environment variable.
+      # For some cases, if e.g. after removing mods, it could be necessary to startup minecraft with an additional
+      # -D parameter like -Dfml.queryResult=confirm. To address this you can use the environment variable JVM_DD_OPTS,
+      # which builds the params from a given list of values separated by space, but without the -D prefix. To make things
+      # running under systems (e.g. Plesk), which doesn't allow = inside values, a : (colon) could be used instead.
+      # The upper example would look like this: JVM_DD_OPTS=fml.queryResult:confirm, and will be converted to -Dfml.queryResult=confirm.
+
+
+    image: itzg/minecraft-server:latest
+    volumes:
+      - "/home/tobi/docker-minecraft_16-1/mc-1.16.1:/data"
+
+    container_name: mc1161
+
+    tty: true
+    stdin_open: true

+ 9 - 10
README.md

@@ -26,17 +26,14 @@ Realising a Minecraft Server with Docker to create a new Instance fast and try o
 - backup data
 
 # Custom Servers
-- [ ] Migration of old MC 1.7 Server as is
-- [ ] Migration of old MC 1.12 Server as is
-- [x] new MC 1.15+ Server with selection of mods to try out what is possible
-
 
 | Servername   | Description                                                                                                                                                                                                                                                                                                                       |
 | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| MC-1-7       | TODO: Server with all Gronkh Mods. Take old Backup!                                                                                                                                                                                                                                                                               |
-| MC-1-12-2    | TODO: Server with most Gronkh Mods running on 1.12.2. Take old Backup!                                                                                                                                                                                                                                                            |
+| MC-1-7       | Client starting with Gamecrash AND Biomes'o'plenty not configurable.                                                                                                                                                                                                                                                              |
+| MC-1-12-2    | Client starting with Gamecrash AND Biomes'o'plenty not configurable.                                                                                                                                                                                                                                                              |
 | MC-1-15-2    | Server with some mods.                                                                                                                                                                                                                                                                                                            |
 | MC-1-15-2_pi | Same Server, but running on RaspPi 4. It is running good, but there were a lot of 2000ms behind server messages. It helped to increase RAM to 2G, but it is still happening quite often. Singleplayer should be fine with that, but it also uses all 4 Cores of RaspPi 4 at maximum load, so the normal x86 server is being used. |
+| MC-1-16-1    | Server without mods for Ewelina und Marcel. Portfreigabe `11611`                                                                                                                                                                                                                                                                  |
 
 
 # HowTo create new Server with Forge Mods
@@ -83,8 +80,10 @@ Realising a Minecraft Server with Docker to create a new Instance fast and try o
 
 # CHANGELOG
 ```
-2020-03   TM    Initial Tests with docker-minecraft-server container.
-                Copy of all attributes available at this time.
-2020-08   TM    Creating 1.15.2 Versions for tm-server and RaspPi 4.
-                Inital start of this Doku.
+2020-03     TM  - Initial Tests with docker-minecraft-server container.
+                - Copy of all attributes available at this time.
+2020-08-22  TM  - Creating 1.15.2 Versions for tm-server and RaspPi 4.
+                - Inital start of this Doku.                
+                - Try to add old 1.7.10 and 1.12.2 Worlds, but Biomes'o'plenty won't run and the Client crashed as well.
+                - New World 1.16.1 without Mods
 ```