Alexander Grein
7e34cf5ac9
Add JVM_DD_OPTS to add -D Params to JVM_OPTS
...
Fix for #177
2018-12-28 09:56:28 +01:00
Geoff Bourne
8c26947fbc
mc: set JAVA_PARAMETERS as alternative INIT_MEMORY for FTB server
...
For #271
2018-12-18 16:42:15 -06:00
Geoff Bourne
091e79c550
Merge pull request #270 from Silthus/patch-1
...
feat(minecraft-server): add version argument for buildtools
2018-12-18 16:27:30 -06:00
Silthus
a31e2a8506
feat(minecraft-server): add version argument for buildtools
...
For future compatibility and to avoid breaking backwards compat I added a build argument with for the version of the build tools download.
2018-12-17 19:07:07 +01:00
Silthus
52d4cae74d
feat(minecraft-server): onbuild trigger for downloading plugins and mods ( #267 )
...
* feat(minecraft-server): add onbuild trigger
Added a ONBUILD trigger for the [ToF-BuildTools](https://git.faldoria.de/tof/server/build-tools ).
If a plugins.yml is provided the BuildTools will download all plugins configured in the YAML.
https://github.com/itzg/dockerfiles/issues/218
* feat(minecraft-server): add arg for build output
* fix(minecraft-server): syntax error in Dockerfile
* fix(minecraft-server): chown jar files after building
* feat(minecraft-server): cleanup buildtools after using
* fix(minecraft-server): remove /plugins volume
The /plugins volume causes weird behaviour when prepolulating it with
files on build. Removing it as an explicit volume fixes that.
* mc: add example Dockerfile for ToF builds
* docs(minecraft-server): add docs for new onbuild trigger
* fix(minecraft-server): use correct url for build tools download
2018-12-16 12:00:36 -06:00
Geoff Bourne
cc83007cea
Merge pull request #268 from Silthus/feat/copy-plugins
...
feat(minecraft-server): update spigot plugins using /plugins if newer
2018-12-15 09:09:42 -06:00
Silthus
0d9c2d13f9
fix(minecraft-server): copy plugins and mods to parent dir
...
Using rsync will already create a subdir inside the /data volume do not create an extra layer.
2018-12-15 08:56:05 +01:00
Silthus
ccec190cb2
feat(minecraft-server): copy mods with rsync as well
...
Mods are now copied the same as plugins, with rsync. Removed the old cp command.
2018-12-15 08:29:43 +01:00
Silthus
c3ac69a030
fix(minecraft-server): typo from testing - change txt to jar
2018-12-14 11:31:46 +01:00
Michael Reichenbach
fd4e9d93e0
feat(minecraft-server): update spigot plugins using /plugins if newer
...
Deep copy and *.jar files in /plugins and update the corresponding files
in the /data/plugins dir.
2018-12-14 08:13:19 +01:00
Geoff Bourne
2e353c084a
mc: add tzdata package to allow for localtime handling
...
fixes #263
2018-12-07 17:47:11 -06:00
Geoff Bourne
9b1272edac
mc: properly handle spaces in MOTD during server properties setup
2018-12-02 17:52:23 -06:00
Geoff Bourne
479be8016a
Merge pull request #260 from Autom3/patch-1
...
[minecraft-server] Pass all command line arguments to start-configura…
2018-10-23 17:54:34 -05:00
Autom3
3f3a2d8433
[minecraft-server] Pass all command line arguments to start-configuration
...
Regarding the minecraft-server image
The start script currently does not pass command line arguments to the next script. This makes it so server admins can't easily update their server to 1.13.2 by passing --forceUpgrade as an extra parameter after specifying the docker image. With this change it works as intended.
Proof that the arguments did not get added before and do now:
* Add this line to the start-minecraftFinalSetup script: `echo "Running with: mc-server-runner ${bootstrapArgs} java $JVM_XX_OPTS $JVM_OPTS -jar $SERVER ""$@"" $EXTRA_ARGS"`
* Build the image
* Run the image with extra arguments `--test`
* See this printed: `Running with: mc-server-runner -jar minecraft_server.1.13.2.jar`
* Update to this PR
* Build the image
* See this printed: `Running with: mc-server-runner -jar minecraft_server.1.13.2.jar --test`
2018-10-23 23:00:23 +02:00
Geoff Bourne
7be2020879
mc: fix WORLD downloading
...
fixes #259
2018-10-17 23:17:43 -05:00
Geoff Bourne
73974d1c40
Merge pull request #258 from mcrowson/mods
...
using find to match json files
2018-10-14 14:01:00 -05:00
Matthew Crowson
a4a22f3bfc
loops only if there are JSON files present
2018-10-14 13:47:39 -04:00
Matthew Crowson
491abfc833
using find to match json files
2018-10-13 12:31:28 -04:00
Geoff Bourne
7dc699ffbb
Merge pull request #257 from mcrowson/mods
...
Added MODS env variables
2018-10-13 08:16:30 -05:00
Matthew Crowson
3fee3f0f41
Added mods env variables
2018-10-12 18:11:57 -04:00
Geoff Bourne
cf8b6e5d05
Merge pull request #255 from mattiaskagstrom/patch-2
...
only download world if there is no preexisting world
2018-10-07 09:45:26 -05:00
Mattias Kågström
3bac706b8a
only download world if there is no preexisting world
...
My world just got overwritten when i re-created the container. this should hopefully solve it..
2018-10-07 14:01:08 +02:00
Geoff Bourne
6e3761ae91
mc: allow for any values of LEVEL_TYPE to support various mods
2018-10-06 08:08:13 -05:00
Geoff Bourne
b88ae49c3b
mc: allow for a non-unique group ID when setting GID
...
For #254
2018-09-30 15:20:54 -05:00
Geoff Bourne
79756d13fd
mc: support CurseForge modpacks with LaunchServer.sh entry script
2018-09-30 14:39:37 -05:00
Geoff Bourne
44d2081b7b
Merge pull request #253 from proudlytm/master
...
mc: set umask to 0002 and chmod g+w the /data folder
2018-09-27 08:25:29 -05:00
Maxim Ivanov
e8be7685e9
mc: set umask to 0002 and chmod g+w the /data folder
...
Do this to allow write access for groups that the minecraft user is in.
This commit also fixes an issue if a group is specified with $GID and it has
no write access in the mounted host volume.
2018-09-27 10:27:50 +03:00
Geoff Bourne
2d6316e6c3
mc: fix container stop handling
2018-09-20 19:57:01 -05:00
Geoff Bourne
009309966b
Merge pull request #250 from proudlytm/master
...
README.md: Make it clearer how to override UID and GID.
2018-09-19 18:22:48 -05:00
Maxim Ivanov
d3e64ed56f
README.md: Make it clearer how to override UID and GID.
2018-09-19 23:27:44 +03:00
Geoff Bourne
715d9be403
Merge pull request #249 from duaneg/master
...
mc: run FTB installer from correct location
2018-09-18 22:40:58 -05:00
Duane Griffin
ebe0a30c14
mc: run FTB installer from correct location
...
We have pushd'ed into the directory so do not prefix the shell script
with the directory name.
2018-09-19 11:27:34 +12:00
Geoff Bourne
c8eb0f5874
mc: enhance the WORLD option to allow for directory sources
...
#247
2018-09-11 20:38:54 -05:00
Geoff Bourne
90907f7b1e
mc: allow for RWG world type
...
Fixes #246
2018-09-01 16:35:31 -05:00
Geoff Bourne
d898796672
Support Paper builds for 1.13 and fix 1.12.2/1.11.2 builds
...
Fixed #244
2018-08-25 18:16:47 -05:00
Geoff Bourne
ed32de76ca
Merge pull request #243 from mattiaskagstrom/patch-1
...
unzip fails if a file already exists in the zip file.
2018-08-25 14:52:32 -05:00
Mattias Kågström
07fc31b401
unzip fails if a file already exists in the zip file.
...
Unzipping world
replace banned-ips.json? [y]es, [n]o, [A]ll, [N]one, [r]ename:
unzip: can't read standard input
2018-08-24 17:36:41 +02:00
Geoff Bourne
a0db92cb5e
circleci: remove run test for now
2018-08-19 11:30:59 -05:00
Geoff Bourne
f33a94a6e2
circleci: allow a litte more time for mc test
2018-08-19 11:25:21 -05:00
Geoff Bourne
bab31f1198
circleci: allow more time and capture the log
2018-08-19 11:22:43 -05:00
Geoff Bourne
a5614ec03b
Add testing of minecraft-server image in CircleCI
2018-08-19 11:18:08 -05:00
Geoff Bourne
70f49be4fc
Merge branch 'master' of https://github.com/itzg/dockerfiles
2018-08-19 09:09:51 -05:00
Geoff Bourne
173f612d74
Add CircleCI 2 config
2018-08-19 09:09:21 -05:00
Geoff Bourne
ba4578f451
mc: check validity of downloaded bukkit/spigot jar
...
Fixes #242
2018-08-18 18:51:45 -05:00
Geoff Bourne
1c5e4b17bf
mc: chown /data when it doesn't match $UID
...
Fixes #239
2018-08-18 16:56:45 -05:00
Geoff Bourne
f65548894f
Merge pull request #241 from JanikBot/patch-2
...
Added warning if user doesn't use the server version of the modpack
2018-08-18 15:39:23 -05:00
Geoff Bourne
b910a7dbe5
mc: adjust FTB server pack check to look in subdirs
2018-08-18 15:38:27 -05:00
Janik Bussalb
1c24dc1def
Added warning if user doesn't use the server version of the modpack
2018-08-14 17:45:51 +02:00
Geoff Bourne
d9c2f26506
mc: handle FTB style start script within CurseForge subdirs
...
mc: upgrade mc-server-runner to launch start scripts via bash
2018-08-12 17:25:16 -05:00
Geoff Bourne
7005f00df0
mc: avoid usermod when UID matches current user ID
2018-08-05 16:38:22 -05:00