mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-25 23:21:20 +00:00
docs: simplify the LEVEL wording and mention level-name (#4416)
This commit is contained in:
1 parent
9d9e131fe2
commit
56201df6b9
2 files changed
+3
-5
No files matched your search
@@ -388,13 +388,11 @@ You can enforce the resource pack on clients by setting `RESOURCE_PACK_ENFORCE`
|
||||
|
||||
### Level / World Save Name
|
||||
|
||||
You can either switch between world saves or run multiple containers with different saves by using the `LEVEL` option,
|
||||
where the default is "world":
|
||||
You can switch between world saves by setting `LEVEL`, which maps to the [level-name](https://minecraft.wiki/w/Server.properties#level-name) property. The default is "world":
|
||||
|
||||
docker run -d -e LEVEL=bonus ...
|
||||
|
||||
> **NOTE:** if running multiple containers be sure to either specify a different `-v` host directory for each
|
||||
`LEVEL` in use or don't use `-v` and the container's filesystem will keep things encapsulated.
|
||||
> **NOTE:** Make sure two or more containers are not using the same data volume.
|
||||
|
||||
> **INFO** Refer to the [data directory](../data-directory.md) section for a visual description of where the `$LEVEL` directory is situated.
|
||||
|
||||
|
||||
+1
-1
@@ -254,7 +254,7 @@ alternatively, you can mount: <code>/etc/localtime:/etc/localtime:ro
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>LEVEL</code></td>
|
||||
<td>Maps to <a href="https://minecraft.wiki/w/Server.properties#level-name">the <code>level-name</code> server property</a>. You can either switch between world saves or run multiple containers with different saves by using the LEVEL option</td>
|
||||
<td>Maps to <a href="https://minecraft.wiki/w/Server.properties#level-name">the <code>level-name</code> server property</a>. You can switch between world saves by using the LEVEL option</td>
|
||||
<td><code>world</code></td>
|
||||
<td>⬜️</td>
|
||||
</tr>
|
||||
|
||||
Reference in new issue
Block a user