You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ Many thanks to both projects for making this one possible.
147
147
- 1.3.1
148
148
- Fixed memory allocation issue which was causing servers to always be limited to 1G memory
149
149
- Setting memory within `JVM_OPTS` using the `-Xmx` and `-Xms` flags fails to set memory, using docker flags `MAX_MEMORY` and `INIT_MEMORY` works properly
150
-
- Within the start-minecraftFinalSetup file from https://github.com/itgz/docker-minecraft-server/ (line 155 as of March 13, 2021), the setup overrides the `-Xmx` and `-Xms` JVM flags using the `MAX_MEMORY` and `INIT_MEMORY` variables
150
+
- Within the start-minecraftFinalSetup file from https://github.com/itzg/docker-minecraft-server/ (line 155 as of March 13, 2021), the setup overrides the `-Xmx` and `-Xms` JVM flags using the `MAX_MEMORY` and `INIT_MEMORY` variables
151
151
- 1.4
152
152
- Updated template-vars file with some additional settings and better comments on settings
153
153
- Added WORLD and SPAWN_PROTECTION settings
@@ -165,4 +165,9 @@ Many thanks to both projects for making this one possible.
165
165
- Added `print-environment` and `print-var` commands to script to print out all variables or a specific variable respectively
166
166
- Removed copying server icon from file, as it was not working without changing write permissions within server directory
167
167
- Removed `follow-log` command, functionality moved to `log --follow`
168
-
- General reworking of script
168
+
- General reworking of script
169
+
- 1.5.1
170
+
- Adjusted `print-environment` output
171
+
- Added `--version` option to output version of script
172
+
- Added `JAVA_VERSION` option to variables file
173
+
- Reworked start function to utilize `JAVA_VERSION` option
echo" -e <TRUE|FALSE> | --eula <TRUE|FALSE>: Set Eula to a desired value, regardless of environment file. Useful for starting a default environment server that doesn't need an environment file just for the EULA option."
19
21
echo" -f | --follow: Follows the log of the docker container when used with the 'log' command"
20
22
echo" -v | --verbose: Enables verbosity messages about what is happening"
Copy file name to clipboardExpand all lines: src/template-vars
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@
27
27
# Game version - can be set to LATEST, SNAPSHOT, or a specific version number
28
28
#VERSION="LATEST"
29
29
30
+
# Java version to use - can be set to DEFAULT, latest, or a specific version, such as java8 or java16 - see https://github.com/itzg/docker-minecraft-server#running-minecraft-server-on-different-java-version for full list of supported versions
31
+
#JAVA_VERSION="DEFAULT"
32
+
30
33
# Game difficulty
31
34
#DIFFICULTY="normal"
32
35
@@ -121,4 +124,4 @@
121
124
#DATA_DIR="/srv/minecraft"
122
125
123
126
# Relative directory to $DATA_DIR for saving minecraft backups
0 commit comments