itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.39k stars 1.55k forks source link

Memory settings #451

Closed DeathclawRowe1 closed 4 years ago

DeathclawRowe1 commented 4 years ago

Maybe I am not understanding, but the extended docs say to pass -e MEMORY=2G as an example when trying to increase memory from 1G to 2G. So I am trying to pass this variable like so:

docker run -d -v C:\Docker\Minecraft\Data:/data -e TYPE=PAPER -e VERSION=1.15.2 -p 25565:25565 -e MEMORY=2G -e EULA=TRUE --name paperminecraft itzg/minecraft-server --noconsole

However, it is never creating the world and stops with a message "done" right after "Reloading ResourceManager: Default, bukkit" however, if I run the following command:

docker run -d -v C:\Docker\Minecraft\Data:/data -e TYPE=PAPER -e VERSION=1.15.2 -p 25565:25565 -e EULA=TRUE --name paperminecraft itzg/minecraft-server --noconsole

It works fine and the only difference is the MEMORY variable, could you point me in the right direction? Is the world supposed to generate when sending the MEMORY variable or am I supposed to create the world then pass the variable when starting the container each time?

PS Sorry kind of new to the docker world. Thanks for reading.

itzg commented 4 years ago

You're definitely using it the right way. First double check that the host itself has 2GB of free memory -- if you're using Docker Desktop you'll need to check the VM resources setting. I think the default is either 1 or 2GB for the entire VM.

Otherwise, since the startup time of 1.15 is getting pretty bad, you may want to alter the health check start period to something like 2 minutes using --health-start-period 2m ...or adjust from there. Case in point, I'm finding mine is struck running the CPU at full throttle at

[12:52:17 INFO]: Starting Minecraft server on *:25565
[12:52:17 INFO]: Using epoll channel type
[12:52:22 INFO]: Preparing level "world"

so the default health check interval is probably going to kill my container pretty soon.

wlp7s0 commented 4 years ago

@DeathclawRowe1 you are doing everything correct. Can you provide the full log for the docker run with MEMORY variable?

DeathclawRowe1 commented 4 years ago

AH it was right in front of my face... Thank you for such a quick response guys, so my only other question, is that when using the command above:

docker run -it -v C:\Docker\Minecraft\Data:/data -e TYPE=PAPER -e VERSION=1.15.2 -p 25565:25565 -e EULA=TRUE --name paperminecraft -e MAX_MEMORY=4G itzg/minecraft-server

The container paperminecraft is then created, but if I restart it by performing the following process:

docker stop paperminecraft

docker start --interactive paperminecraft

it then regenerates the entire world rather than accessing the world created at C:\Docker\Minecraft\Data so im assuming the container is just writing to that location when it starts back up, thus overwriting what was previously there.

Is there a way to launch the container and maintain the previously created world that is saved at C:\Docker\Minecraft\Data ???

My logs are below:

` PS C:\Users\Bradley> docker stop paperminecraft paperminecraft PS C:\Users\Bradley> docker rm paperminecraft paperminecraft PS C:\Users\Bradley> docker run -it -v C:\Docker\Minecraft\Data:/data -e TYPE=PAPER -e VERSION=1.15.2 -p 25565:25565 -e EULA=TRUE --name paperminecraft -e MAX_MEMORY=4G itzg/minecraft-server [init] Changing ownership of /data to 1000 ... [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxrwx 1 0 0 4096 Mar 18 14:56 /data' [init] Checking version information. [init] Checking type information. [init] Downloading Paper 1.15.2 from https://papermc.io/api/v1/paper/1.15.2/latest/download ... [init] Creating server.properties in /data/server.properties [init] Setting server-name to 'Dedicated Server' in /data/server.properties [init] Setting server-port to '25565' in /data/server.properties [init] Setting motd to 'A Paper Minecraft Server powered by Docker' in /data/server.properties [init] Skip setting allow-nether [init] Skip setting announce-player-achievements [init] Skip setting enable-command-block [init] Skip setting spawn-animals [init] Skip setting spawn-monsters [init] Skip setting spawn-npcs [init] Skip setting spawn-protection [init] Skip setting generate-structures [init] Skip setting view-distance [init] Skip setting hardcore [init] Skip setting snooper-enabled [init] Skip setting max-build-height [init] Skip setting force-gamemode [init] Skip setting max-tick-time [init] Skip setting enable-query [init] Skip setting query.port [init] Setting enable-rcon to 'true' in /data/server.properties [init] Setting rcon.password to 'minecraft' in /data/server.properties [init] Setting rcon.port to '25575' in /data/server.properties [init] Skip setting max-players [init] Skip setting max-world-size [init] Setting level-name to 'world' in /data/server.properties [init] Skip setting level-seed [init] Setting pvp to 'true' in /data/server.properties [init] Skip setting generator-settings [init] Setting online-mode to 'true' in /data/server.properties [init] Skip setting allow-flight [init] Setting level-type to 'DEFAULT' in /data/server.properties [init] Skip setting resource-pack [init] Skip setting resource-pack-sha1 [init] Setting difficulty to '1' in /data/server.properties [init] Checking for JSON files. [init] Copying any mods over... [init] Copying any Bukkit plugins over... [init] Setting initial memory to 1G and max to 4G [init] Starting the Minecraft server... Downloading vanilla jar... Patching vanilla jar... System Info: Java 1.8 (OpenJDK 64-Bit Server VM 25.212-b04) Host: Linux 4.19.76-linuxkit (amd64) Loading libraries, please wait... 2020-03-18 14:57:11,383 main WARN Advanced terminal features are not available in this environment [14:57:15 INFO]: Starting minecraft server version 1.15.2 [14:57:15 INFO]: Loading properties [14:57:15 INFO]: This server is running Paper version git-Paper-142 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) [14:57:15 INFO]: Server Ping Player Sample Count: 12 [14:57:15 INFO]: Using 4 threads for Netty based IO [14:57:15 INFO]: Debug logging is disabled [14:57:15 INFO]: Default game type: SURVIVAL [14:57:15 INFO]: Generating keypair [14:57:15 INFO]: Starting Minecraft server on *:25565 [14:57:16 INFO]: Using epoll channel type [14:57:16 INFO]: Preparing level "world" [14:57:16 INFO]: Found new data pack file/bukkit, loading it automatically [14:57:16 INFO]: Found new data pack vanilla, loading it automatically [14:57:16 INFO]: Reloading ResourceManager: Default, bukkit [14:57:29 INFO]: Loaded 6 recipes [14:57:29 INFO]: -------- World Settings For [world] -------- [14:57:29 INFO]: Zombie Aggressive Towards Villager: true [14:57:29 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:57:29 INFO]: View Distance: 10 [14:57:29 INFO]: Item Merge Radius: 2.5 [14:57:29 INFO]: Item Despawn Rate: 6000 [14:57:29 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:57:29 INFO]: Nerfing mobs spawned from spawners: false [14:57:29 INFO]: Mob Spawn Range: 8 [14:57:29 INFO]: Cactus Growth Modifier: 100% [14:57:29 INFO]: Cane Growth Modifier: 100% [14:57:29 INFO]: Melon Growth Modifier: 100% [14:57:29 INFO]: Mushroom Growth Modifier: 100% [14:57:29 INFO]: Pumpkin Growth Modifier: 100% [14:57:29 INFO]: Sapling Growth Modifier: 100% [14:57:29 INFO]: Beetroot Growth Modifier: 100% [14:57:29 INFO]: Carrot Growth Modifier: 100% [14:57:29 INFO]: Potato Growth Modifier: 100% [14:57:29 INFO]: Wheat Growth Modifier: 100% [14:57:29 INFO]: NetherWart Growth Modifier: 100% [14:57:29 INFO]: Vine Growth Modifier: 100% [14:57:29 INFO]: Cocoa Growth Modifier: 100% [14:57:29 INFO]: Bamboo Growth Modifier: 100% [14:57:29 INFO]: SweetBerry Growth Modifier: 100% [14:57:29 INFO]: Kelp Growth Modifier: 100% [14:57:29 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:57:29 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:57:29 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:57:29 INFO]: Experience Merge Radius: 3.0 [14:57:29 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:57:29 INFO]: Max TNT Explosions: 100 [14:57:29 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:57:32 INFO]: -------- World Settings For [world_nether] -------- [14:57:32 INFO]: Zombie Aggressive Towards Villager: true [14:57:32 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:57:32 INFO]: View Distance: 10 [14:57:32 INFO]: Item Merge Radius: 2.5 [14:57:32 INFO]: Item Despawn Rate: 6000 [14:57:32 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:57:32 INFO]: Nerfing mobs spawned from spawners: false [14:57:32 INFO]: Mob Spawn Range: 8 [14:57:32 INFO]: Cactus Growth Modifier: 100% [14:57:32 INFO]: Cane Growth Modifier: 100% [14:57:32 INFO]: Melon Growth Modifier: 100% [14:57:32 INFO]: Mushroom Growth Modifier: 100% [14:57:32 INFO]: Pumpkin Growth Modifier: 100% [14:57:32 INFO]: Sapling Growth Modifier: 100% [14:57:32 INFO]: Beetroot Growth Modifier: 100% [14:57:32 INFO]: Carrot Growth Modifier: 100% [14:57:32 INFO]: Potato Growth Modifier: 100% [14:57:32 INFO]: Wheat Growth Modifier: 100% [14:57:32 INFO]: NetherWart Growth Modifier: 100% [14:57:32 INFO]: Vine Growth Modifier: 100% [14:57:32 INFO]: Cocoa Growth Modifier: 100% [14:57:32 INFO]: Bamboo Growth Modifier: 100% [14:57:32 INFO]: SweetBerry Growth Modifier: 100% [14:57:32 INFO]: Kelp Growth Modifier: 100% [14:57:32 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:57:32 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:57:32 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:57:32 INFO]: Experience Merge Radius: 3.0 [14:57:32 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:57:32 INFO]: Max TNT Explosions: 100 [14:57:32 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:57:32 INFO]: -------- World Settings For [world_the_end] -------- [14:57:32 INFO]: Zombie Aggressive Towards Villager: true [14:57:32 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:57:32 INFO]: View Distance: 10 [14:57:32 INFO]: Item Merge Radius: 2.5 [14:57:32 INFO]: Item Despawn Rate: 6000 [14:57:32 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:57:32 INFO]: Nerfing mobs spawned from spawners: false [14:57:32 INFO]: Mob Spawn Range: 8 [14:57:32 INFO]: Cactus Growth Modifier: 100% [14:57:32 INFO]: Cane Growth Modifier: 100% [14:57:32 INFO]: Melon Growth Modifier: 100% [14:57:32 INFO]: Mushroom Growth Modifier: 100% [14:57:32 INFO]: Pumpkin Growth Modifier: 100% [14:57:32 INFO]: Sapling Growth Modifier: 100% [14:57:32 INFO]: Beetroot Growth Modifier: 100% [14:57:32 INFO]: Carrot Growth Modifier: 100% [14:57:32 INFO]: Potato Growth Modifier: 100% [14:57:32 INFO]: Wheat Growth Modifier: 100% [14:57:32 INFO]: NetherWart Growth Modifier: 100% [14:57:32 INFO]: Vine Growth Modifier: 100% [14:57:32 INFO]: Cocoa Growth Modifier: 100% [14:57:32 INFO]: Bamboo Growth Modifier: 100% [14:57:32 INFO]: SweetBerry Growth Modifier: 100% [14:57:32 INFO]: Kelp Growth Modifier: 100% [14:57:32 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:57:32 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:57:32 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:57:32 INFO]: Experience Merge Radius: 3.0 [14:57:32 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:57:32 INFO]: Max TNT Explosions: 100 [14:57:32 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:57:32 INFO]: Preparing start region for dimension 'world'/minecraft:overworld [14:57:32 INFO]: Preparing spawn area: 0% [14:57:33 INFO]: Preparing spawn area: 0% [14:57:33 INFO]: Preparing spawn area: 0% [14:57:34 INFO]: Preparing spawn area: 0% [14:57:34 INFO]: Preparing spawn area: 0% [14:57:35 INFO]: Preparing spawn area: 1% [14:57:35 INFO]: Preparing spawn area: 2% [14:57:36 INFO]: Preparing spawn area: 2% [14:57:36 INFO]: Preparing spawn area: 2% [14:57:37 INFO]: Preparing spawn area: 2% [14:57:37 INFO]: Preparing spawn area: 10% [14:57:38 INFO]: Preparing spawn area: 10% [14:57:38 INFO]: Preparing spawn area: 11% [14:57:39 INFO]: Preparing spawn area: 14% [14:57:39 INFO]: Preparing spawn area: 14% [14:57:40 INFO]: Preparing spawn area: 14% [14:57:40 INFO]: Preparing spawn area: 25% [14:57:41 INFO]: Preparing spawn area: 25% [14:57:41 INFO]: Preparing spawn area: 31% [14:57:42 INFO]: Preparing spawn area: 34% [14:57:43 INFO]: Preparing spawn area: 34% [14:57:43 INFO]: Preparing spawn area: 45% [14:57:43 INFO]: Preparing spawn area: 45% [14:57:44 INFO]: Preparing spawn area: 61% [14:57:44 INFO]: Preparing spawn area: 72% [14:57:45 INFO]: Preparing spawn area: 74% [14:57:45 INFO]: Preparing spawn area: 82% [14:57:46 INFO]: Preparing spawn area: 88% [14:57:47 INFO]: Preparing spawn area: 97% [14:57:47 INFO]: Preparing spawn area: 100% [14:57:47 INFO]: Preparing spawn area: 100% [14:57:48 INFO]: Preparing spawn area: 100% [14:57:48 INFO]: Preparing spawn area: 100% [14:57:49 INFO]: Preparing spawn area: 100% [14:57:49 INFO]: Preparing spawn area: 100% [14:57:50 INFO]: Preparing spawn area: 100% [14:57:50 INFO]: Loaded 441 spawn chunks for world world [14:57:50 INFO]: Time elapsed: 17928 ms [14:57:50 INFO]: Preparing start region for dimension 'world_nether'/minecraft:the_nether [14:57:50 INFO]: Preparing spawn area: 0% [14:57:51 INFO]: Preparing spawn area: 0% [14:57:51 INFO]: Preparing spawn area: 0% [14:57:52 INFO]: Preparing spawn area: 3% [14:57:52 INFO]: Preparing spawn area: 7% [14:57:53 INFO]: Preparing spawn area: 7% [14:57:53 INFO]: Preparing spawn area: 26% [14:57:54 INFO]: Preparing spawn area: 26% [14:57:54 INFO]: Preparing spawn area: 41% [14:57:55 INFO]: Preparing spawn area: 50% [14:57:56 INFO]: Preparing spawn area: 66% [14:57:56 INFO]: Preparing spawn area: 83% [14:57:56 INFO]: Preparing spawn area: 97% [14:57:57 INFO]: Preparing spawn area: 100% [14:57:57 INFO]: Preparing spawn area: 100% [14:57:58 INFO]: Preparing spawn area: 100% [14:57:58 INFO]: Loaded 441 spawn chunks for world world_nether [14:57:58 INFO]: Time elapsed: 7898 ms [14:57:58 INFO]: Preparing start region for dimension 'world_the_end'/minecraft:the_end [14:57:58 INFO]: Preparing spawn area: 0% 14:57:59 INFO: Preparing spawn area: 0% 14:57:59 INFO: Preparing spawn area: 97% 14:57:59 INFO: Loaded 441 spawn chunks for world world_the_end 14:57:59 INFO: Time elapsed: 1254 ms

14:57:59 INFO: Starting remote control listener 14:57:59 INFO: Timings Reset 14:57:59 INFO: RCON running on 0.0.0.0:25575 ^C PS C:\Users\Bradley> docker stop paperminecraft paperminecraft PS C:\Users\Bradley> docker start --interactive paperminecraft [init] Changing ownership of /data to 1000 ... [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxrwx 1 0 0 4096 Mar 18 14:57 /data' [init] Checking version information. [init] Checking type information. [init] server.properties already created, skipping [init] Checking for JSON files. [init] Copying any mods over... [init] Copying any Bukkit plugins over... [init] Setting initial memory to 1G and max to 4G [init] Starting the Minecraft server... System Info: Java 1.8 (OpenJDK 64-Bit Server VM 25.212-b04) Host: Linux 4.19.76-linuxkit (amd64) Loading libraries, please wait... 2020-03-18 14:58:56,952 main WARN Advanced terminal features are not available in this environment [14:59:00 INFO]: Starting minecraft server version 1.15.2 [14:59:00 INFO]: Loading properties [14:59:01 INFO]: This server is running Paper version git-Paper-142 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) [14:59:01 INFO]: Server Ping Player Sample Count: 12 [14:59:01 INFO]: Using 4 threads for Netty based IO [14:59:01 INFO]: Debug logging is disabled [14:59:01 INFO]: Default game type: SURVIVAL [14:59:01 INFO]: Generating keypair [14:59:01 INFO]: Starting Minecraft server on *:25565 [14:59:01 INFO]: Using epoll channel type [14:59:01 INFO]: Server permissions file permissions.yml is empty, ignoring it [14:59:01 INFO]: Preparing level "world" [14:59:02 INFO]: Found new data pack file/bukkit, loading it automatically [14:59:02 INFO]: Found new data pack vanilla, loading it automatically [14:59:02 INFO]: Reloading ResourceManager: Default, bukkit [14:59:16 INFO]: Loaded 6 recipes [14:59:16 INFO]: -------- World Settings For [world] -------- [14:59:16 INFO]: View Distance: 10 [14:59:16 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:59:16 INFO]: Item Merge Radius: 2.5 [14:59:16 INFO]: Item Despawn Rate: 6000 [14:59:16 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:59:16 INFO]: Zombie Aggressive Towards Villager: true [14:59:16 INFO]: Nerfing mobs spawned from spawners: false [14:59:16 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:59:16 INFO]: Mob Spawn Range: 8 [14:59:16 INFO]: Max TNT Explosions: 100 [14:59:16 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:59:16 INFO]: Experience Merge Radius: 3.0 [14:59:16 INFO]: Cactus Growth Modifier: 100% [14:59:16 INFO]: Cane Growth Modifier: 100% [14:59:16 INFO]: Melon Growth Modifier: 100% [14:59:16 INFO]: Mushroom Growth Modifier: 100% [14:59:16 INFO]: Pumpkin Growth Modifier: 100% [14:59:16 INFO]: Sapling Growth Modifier: 100% [14:59:16 INFO]: Beetroot Growth Modifier: 100% [14:59:16 INFO]: Carrot Growth Modifier: 100% [14:59:16 INFO]: Potato Growth Modifier: 100% [14:59:16 INFO]: Wheat Growth Modifier: 100% [14:59:16 INFO]: NetherWart Growth Modifier: 100% [14:59:16 INFO]: Vine Growth Modifier: 100% [14:59:16 INFO]: Cocoa Growth Modifier: 100% [14:59:16 INFO]: Bamboo Growth Modifier: 100% [14:59:16 INFO]: SweetBerry Growth Modifier: 100% [14:59:16 INFO]: Kelp Growth Modifier: 100% [14:59:16 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:59:16 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:59:16 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:59:19 INFO]: -------- World Settings For [world_nether] -------- [14:59:19 INFO]: View Distance: 10 [14:59:19 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:59:19 INFO]: Item Merge Radius: 2.5 [14:59:19 INFO]: Item Despawn Rate: 6000 [14:59:19 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:59:19 INFO]: Zombie Aggressive Towards Villager: true [14:59:19 INFO]: Nerfing mobs spawned from spawners: false [14:59:19 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:59:19 INFO]: Mob Spawn Range: 8 [14:59:19 INFO]: Max TNT Explosions: 100 [14:59:19 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:59:19 INFO]: Experience Merge Radius: 3.0 [14:59:19 INFO]: Cactus Growth Modifier: 100% [14:59:19 INFO]: Cane Growth Modifier: 100% [14:59:19 INFO]: Melon Growth Modifier: 100% [14:59:19 INFO]: Mushroom Growth Modifier: 100% [14:59:19 INFO]: Pumpkin Growth Modifier: 100% [14:59:19 INFO]: Sapling Growth Modifier: 100% [14:59:19 INFO]: Beetroot Growth Modifier: 100% [14:59:19 INFO]: Carrot Growth Modifier: 100% [14:59:19 INFO]: Potato Growth Modifier: 100% [14:59:19 INFO]: Wheat Growth Modifier: 100% [14:59:19 INFO]: NetherWart Growth Modifier: 100% [14:59:19 INFO]: Vine Growth Modifier: 100% [14:59:19 INFO]: Cocoa Growth Modifier: 100% [14:59:19 INFO]: Bamboo Growth Modifier: 100% [14:59:19 INFO]: SweetBerry Growth Modifier: 100% [14:59:19 INFO]: Kelp Growth Modifier: 100% [14:59:19 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:59:19 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:59:19 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:59:19 INFO]: -------- World Settings For [world_the_end] -------- [14:59:19 INFO]: View Distance: 10 [14:59:19 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [14:59:19 INFO]: Item Merge Radius: 2.5 [14:59:19 INFO]: Item Despawn Rate: 6000 [14:59:19 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [14:59:19 INFO]: Zombie Aggressive Towards Villager: true [14:59:19 INFO]: Nerfing mobs spawned from spawners: false [14:59:19 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [14:59:19 INFO]: Mob Spawn Range: 8 [14:59:19 INFO]: Max TNT Explosions: 100 [14:59:19 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [14:59:19 INFO]: Experience Merge Radius: 3.0 [14:59:19 INFO]: Cactus Growth Modifier: 100% [14:59:19 INFO]: Cane Growth Modifier: 100% [14:59:19 INFO]: Melon Growth Modifier: 100% [14:59:19 INFO]: Mushroom Growth Modifier: 100% [14:59:19 INFO]: Pumpkin Growth Modifier: 100% [14:59:19 INFO]: Sapling Growth Modifier: 100% [14:59:19 INFO]: Beetroot Growth Modifier: 100% [14:59:19 INFO]: Carrot Growth Modifier: 100% [14:59:19 INFO]: Potato Growth Modifier: 100% [14:59:19 INFO]: Wheat Growth Modifier: 100% [14:59:19 INFO]: NetherWart Growth Modifier: 100% [14:59:19 INFO]: Vine Growth Modifier: 100% [14:59:19 INFO]: Cocoa Growth Modifier: 100% [14:59:19 INFO]: Bamboo Growth Modifier: 100% [14:59:19 INFO]: SweetBerry Growth Modifier: 100% [14:59:19 INFO]: Kelp Growth Modifier: 100% [14:59:19 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [14:59:19 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [14:59:19 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [14:59:19 INFO]: Preparing start region for dimension 'world'/minecraft:overworld [14:59:19 INFO]: Preparing spawn area: 0% [14:59:19 INFO]: Preparing spawn area: 0% [14:59:20 INFO]: Preparing spawn area: 0% [14:59:20 INFO]: Preparing spawn area: 0% [14:59:21 INFO]: Preparing spawn area: 0% [14:59:21 INFO]: Preparing spawn area: 0% [14:59:22 INFO]: Preparing spawn area: 0% [14:59:22 INFO]: Preparing spawn area: 0% [14:59:23 INFO]: Preparing spawn area: 0% [14:59:23 INFO]: Preparing spawn area: 2% [14:59:24 INFO]: Preparing spawn area: 2% [14:59:24 INFO]: Preparing spawn area: 2% [14:59:25 INFO]: Preparing spawn area: 11% [14:59:25 INFO]: Preparing spawn area: 11% [14:59:26 INFO]: Preparing spawn area: 17% [14:59:26 INFO]: Preparing spawn area: 19% [14:59:27 INFO]: Preparing spawn area: 24% [14:59:27 INFO]: Preparing spawn area: 24% [14:59:28 INFO]: Preparing spawn area: 24% [14:59:28 INFO]: Preparing spawn area: 24% [14:59:29 INFO]: Preparing spawn area: 24% [14:59:29 INFO]: Preparing spawn area: 24% [14:59:30 INFO]: Preparing spawn area: 57% [14:59:30 INFO]: Preparing spawn area: 68% [14:59:31 INFO]: Preparing spawn area: 72% [14:59:31 INFO]: Preparing spawn area: 81% [14:59:32 INFO]: Preparing spawn area: 89% [14:59:32 INFO]: Preparing spawn area: 92% [14:59:33 INFO]: Preparing spawn area: 99% [14:59:33 INFO]: Preparing spawn area: 100% [14:59:34 INFO]: Preparing spawn area: 100% [14:59:34 INFO]: Preparing spawn area: 100% [14:59:35 INFO]: Preparing spawn area: 100% [14:59:35 INFO]: Preparing spawn area: 100% [14:59:36 INFO]: Preparing spawn area: 100% [14:59:36 INFO]: Preparing spawn area: 100% [14:59:36 INFO]: Loaded 441 spawn chunks for world world [14:59:36 INFO]: Time elapsed: 17563 ms [14:59:36 INFO]: Preparing start region for dimension 'world_nether'/minecraft:the_nether [14:59:36 INFO]: Preparing spawn area: 0% [14:59:37 INFO]: Preparing spawn area: 0% [14:59:37 INFO]: Preparing spawn area: 0% [14:59:38 INFO]: Preparing spawn area: 0% [14:59:38 INFO]: Preparing spawn area: 3% [14:59:39 INFO]: Preparing spawn area: 17% [14:59:39 INFO]: Preparing spawn area: 21% [14:59:40 INFO]: Preparing spawn area: 32% [14:59:40 INFO]: Preparing spawn area: 51% [14:59:41 INFO]: Preparing spawn area: 71% [14:59:41 INFO]: Preparing spawn area: 90% [14:59:42 INFO]: Preparing spawn area: 100% [14:59:42 INFO]: Preparing spawn area: 100% [14:59:43 INFO]: Preparing spawn area: 100% [14:59:43 INFO]: Loaded 441 spawn chunks for world world_nether [14:59:43 INFO]: Time elapsed: 6738 ms [14:59:43 INFO]: Preparing start region for dimension 'world_the_end'/minecraft:the_end [14:59:43 INFO]: Preparing spawn area: 0% [14:59:43 INFO]: Preparing spawn area: 24% 14:59:44 INFO: Preparing spawn area: 100% 14:59:44 INFO: Loaded 441 spawn chunks for world world_the_end 14:59:44 INFO: Time elapsed: 1212 ms

14:59:44 INFO: Starting remote control listener 14:59:44 INFO: RCON running on 0.0.0.0:25575 14:59:44 INFO: Timings Reset `

itzg commented 4 years ago

@DeathclawRowe1 the -v C:\Docker\Minecraft\Data:/data you're using is what will make the world data persistent across container restarts/creates. Are you certain it is re-generating the world data every time? If you're going off the "Preparing spawn area" messages, then those appears on every startup and given how fast it progressed it is acting like world data was already present to be prepared.

DeathclawRowe1 commented 4 years ago

Interesting I see what you mean with the preparing spawn area, so I've tested this a bit, and if I start the container, load into the world, and make some changes, maybe lose a few health hearts and let my hunger go down a bit and place some blocks, the health and hunger bars save when I stop and restart the container. But the actual block changes made are not saved.

So if I load into my world, build a house, and then disconnect, then run docker stop paperminecraft

and then run docker start --interactive paperminecraft

It loads up the container but the house isn't there, seems that the initial creation of the world is saved but not any further changes as it seems to be loading the original world saved when I created the container...Thoughts?

DeathclawRowe1 commented 4 years ago

Well now it seems to be saving the blocks correctly... maybe I had some timing issue on my end? not sure! But thank you so much for your help! You both are amazing and I am off to play some Minecraft as I am quarantined to my house due to COVID-19 Yippee!

itzg commented 4 years ago

Glad to hear it's all working. Yep, I imagine a lot more people are playing Minecraft and such as we're all quarantined.