diff --git a/minecraft/papermc/README.md b/minecraft/papermc/README.md index 335d03c..bfcbed7 100644 --- a/minecraft/papermc/README.md +++ b/minecraft/papermc/README.md @@ -1,23 +1,3 @@ - - - # Build arguments Two build arguments are required, namely `MC_VERSION` and `PAPERMC_VERSION`. You can find your required versions [here](https://papermc.io/downloads). The @@ -36,15 +16,15 @@ Note that the leading `#` doesn't need to be added to the variable. # Environment variables The two possible environment variables are `XMS` and `XMX`. These specify the -initial RAM & maximum RAM usage respectively. Only `XMS` is required; `XMX` is -just set to the same value as `XMS` if not specified. You must specify them as +initial RAM & maximum RAM usage respectively. Only `XMX` is required; `XMS` is +just set to the same value as `XMX` if not specified. You must specify them as a number, e.g. `XMS=4`. This number represents a quantity of gigabytes. # Mount points There a two useful mount points defined: -* `/mc/config`: this is where all server config files reside. -* `/mc/worlds`: this is where the world files are stored. +* `/app/config`: this is where all server config files reside. +* `/app/worlds`: this is where the world files are stored. You can mount these directories somewhere in the host file system by specifying the mount paths in the `.env` file. These can be both absolute or relative @@ -65,8 +45,8 @@ end of the `Dockerfile` to the following: ENTRYPOINT java \ -Xms"${XMS}G" \ -Xmx"${XMX:-$XMS}G" \ --jar /mc/server.jar \ ---universe /mc/worlds \ +-jar /app/server.jar \ +--universe /app/worlds \ --nogui ```