From 8fea0bbf996ceff2002af0c7396c4f53800e2cb7 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 18:38:35 -0500 Subject: [PATCH 01/21] whitelist --- whitelist.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 whitelist.json diff --git a/whitelist.json b/whitelist.json new file mode 100644 index 00000000..2fa712c7 --- /dev/null +++ b/whitelist.json @@ -0,0 +1,6 @@ +[ + { + "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", + "name": "vader_cat" + } +] \ No newline at end of file From 19eda413533d6bc7984b13e0ab656139bcf55e2e Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 18:39:59 -0500 Subject: [PATCH 02/21] server props --- server.properties | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 server.properties diff --git a/server.properties b/server.properties new file mode 100644 index 00000000..021ddef4 --- /dev/null +++ b/server.properties @@ -0,0 +1,4 @@ +gamemode=1 +difficulty=1 +pvp=false +force-gamemode=true \ No newline at end of file From d054346241170b0cd54b25b78f7d0b5b79be8b4d Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 19:24:44 -0500 Subject: [PATCH 03/21] remove server props and whitelist --- server.properties | 4 ---- whitelist.json | 6 ------ 2 files changed, 10 deletions(-) delete mode 100644 server.properties delete mode 100644 whitelist.json diff --git a/server.properties b/server.properties deleted file mode 100644 index 021ddef4..00000000 --- a/server.properties +++ /dev/null @@ -1,4 +0,0 @@ -gamemode=1 -difficulty=1 -pvp=false -force-gamemode=true \ No newline at end of file diff --git a/whitelist.json b/whitelist.json deleted file mode 100644 index 2fa712c7..00000000 --- a/whitelist.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", - "name": "vader_cat" - } -] \ No newline at end of file From 63bf0ae6660ef608a327401af44d3c11925e96f9 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 19:26:55 -0500 Subject: [PATCH 04/21] whitelist --- whitelist.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 whitelist.json diff --git a/whitelist.json b/whitelist.json new file mode 100644 index 00000000..2fa712c7 --- /dev/null +++ b/whitelist.json @@ -0,0 +1,6 @@ +[ + { + "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", + "name": "vader_cat" + } +] \ No newline at end of file From 77851be9d387e6b385aa2511d07c220f1ffb4c64 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 19:36:17 -0500 Subject: [PATCH 05/21] Server properties --- server.properties | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 server.properties diff --git a/server.properties b/server.properties new file mode 100644 index 00000000..9126e582 --- /dev/null +++ b/server.properties @@ -0,0 +1,2 @@ +gamemode=1 +force-gamemode=true From da2eb63be92f8538bfc5345d9af30eb5e0fce94e Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Mon, 8 Jul 2019 19:37:50 -0500 Subject: [PATCH 06/21] ops.json --- ops.json | 7 +++++++ server.properties | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 ops.json delete mode 100644 server.properties diff --git a/ops.json b/ops.json new file mode 100644 index 00000000..0b932603 --- /dev/null +++ b/ops.json @@ -0,0 +1,7 @@ +[ + { + "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", + "name": "vader_cat", + "level": 4 + } +] \ No newline at end of file diff --git a/server.properties b/server.properties deleted file mode 100644 index 9126e582..00000000 --- a/server.properties +++ /dev/null @@ -1,2 +0,0 @@ -gamemode=1 -force-gamemode=true From 3eb8d8e7b5314d23cbd7e3a631d3d3567ec6d0df Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Fri, 25 Dec 2020 18:40:00 -0600 Subject: [PATCH 07/21] Added support for 1.17 --- bin/compile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index c08fed09..f5c25fc9 100755 --- a/bin/compile +++ b/bin/compile @@ -62,9 +62,12 @@ echo "done" minecraft_version=${MINECRAFT_VERSION:-"1.16.2"} -if echo "$minecraft_version" | grep -q '^1\.16.*$'; then +if echo "$minecraft_version" | grep -q '^1\.17.*$'; then + minecraft_uuid="${MINECRAFT_UUID:="fc87ef4c3cf1c815809249cc00ccade233b22cf5"}" + minecraft_url=`"https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar"` +elif echo "$minecraft_version" | grep -q '^1\.16.*$'; then minecraft_uuid="${MINECRAFT_UUID:="a412fd69db1f81db3f511c1463fd304675244077"}" - minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" + minecraft_url=`"https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar"` elif echo "$minecraft_version" | grep -q '^1\.15.*$'; then minecraft_uuid="${MINECRAFT_UUID:="bb2b6b1aefcd70dfd1892149ac3a215f6c636b07"}" minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" From 6a8110840b93b9086b7017d50ce10d2fdd62533c Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Fri, 25 Dec 2020 18:43:22 -0600 Subject: [PATCH 08/21] Purge cache From 9116d7d006b2bf30e44220b24318be74368da4d1 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Fri, 25 Dec 2020 18:56:14 -0600 Subject: [PATCH 09/21] Fix bash syntax --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index f5c25fc9..213df2ea 100755 --- a/bin/compile +++ b/bin/compile @@ -64,10 +64,10 @@ minecraft_version=${MINECRAFT_VERSION:-"1.16.2"} if echo "$minecraft_version" | grep -q '^1\.17.*$'; then minecraft_uuid="${MINECRAFT_UUID:="fc87ef4c3cf1c815809249cc00ccade233b22cf5"}" - minecraft_url=`"https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar"` + minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" elif echo "$minecraft_version" | grep -q '^1\.16.*$'; then minecraft_uuid="${MINECRAFT_UUID:="a412fd69db1f81db3f511c1463fd304675244077"}" - minecraft_url=`"https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar"` + minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" elif echo "$minecraft_version" | grep -q '^1\.15.*$'; then minecraft_uuid="${MINECRAFT_UUID:="bb2b6b1aefcd70dfd1892149ac3a215f6c636b07"}" minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" From 08c336b582bee3035ef138b4f045e0a96261514c Mon Sep 17 00:00:00 2001 From: alihagh1383 <64799571+alihagh1383@users.noreply.github.com> Date: Sun, 28 Nov 2021 22:57:29 +0330 Subject: [PATCH 10/21] Update compile --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index 213df2ea..5a035d08 100755 --- a/bin/compile +++ b/bin/compile @@ -60,7 +60,7 @@ curl --silent -o ngrok.zip -L "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable unzip ngrok.zip -d $BUILD_DIR/bin > /dev/null 2>&1 echo "done" -minecraft_version=${MINECRAFT_VERSION:-"1.16.2"} +minecraft_version=${MINECRAFT_VERSION:-"1.17.1"} if echo "$minecraft_version" | grep -q '^1\.17.*$'; then minecraft_uuid="${MINECRAFT_UUID:="fc87ef4c3cf1c815809249cc00ccade233b22cf5"}" From ccf7cb5599be072d3f7fde6e56325f1bd7d2311c Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:12:30 -0600 Subject: [PATCH 11/21] add files.json --- bin/compile | 29 ++++++++--------------------- etc/files.json | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 21 deletions(-) create mode 100644 etc/files.json diff --git a/bin/compile b/bin/compile index 5a035d08..fbe4ea8a 100755 --- a/bin/compile +++ b/bin/compile @@ -19,10 +19,11 @@ export_env_dir() { fi } -BP_DIR="$(cd "$(dirname "$0")" && pwd)" +BP_BIN_DIR="$(cd "$(dirname "$0")" && pwd)" BUILD_DIR=$1 CACHE_DIR=$2 -OPT_DIR=$BP_DIR/../opt/ +OPT_DIR=$BP_BIN_DIR/../opt/ +ETC_DIR=$BP_BIN_DIR/../etc/ export_env_dir $3 @@ -60,25 +61,11 @@ curl --silent -o ngrok.zip -L "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable unzip ngrok.zip -d $BUILD_DIR/bin > /dev/null 2>&1 echo "done" -minecraft_version=${MINECRAFT_VERSION:-"1.17.1"} - -if echo "$minecraft_version" | grep -q '^1\.17.*$'; then - minecraft_uuid="${MINECRAFT_UUID:="fc87ef4c3cf1c815809249cc00ccade233b22cf5"}" - minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" -elif echo "$minecraft_version" | grep -q '^1\.16.*$'; then - minecraft_uuid="${MINECRAFT_UUID:="a412fd69db1f81db3f511c1463fd304675244077"}" - minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" -elif echo "$minecraft_version" | grep -q '^1\.15.*$'; then - minecraft_uuid="${MINECRAFT_UUID:="bb2b6b1aefcd70dfd1892149ac3a215f6c636b07"}" - minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" -elif echo "$minecraft_version" | grep -q '^1\.13.*$'; then - minecraft_uuid="${MINECRAFT_UUID:="d0caafb8438ebd206f99930cfaecfa6c9a13dca0"}" - minecraft_url="https://launcher.mojang.com/mc/game/${minecraft_version}/server/${minecraft_uuid}/server.jar" -elif echo "$minecraft_version" | grep -q '^1\.14.*$'; then - minecraft_uuid="${MINECRAFT_UUID:="d0d0fe2b1dc6ab4c65554cb734270872b72dadd6"}" - minecraft_url="https://launcher.mojang.com/v1/objects/${minecraft_uuid}/server.jar" -else - minecraft_url="https://s3.amazonaws.com/Minecraft.Download/versions/${minecraft_version}/minecraft_server.${minecraft_version}.jar" +minecraft_version=${MINECRAFT_VERSION:-"1.18.1"} +minecraft_url="$(cat $ETC_DIR/files.json | python -c "import json,sys;obj=json.load(sys.stdin);print(obj[\"server\"][\"${minecraft_version}\"][\"url\"])")" +if [ -z "$minecraft_url" ]; then + echo "Could not find URL for Minecraft version $minecraft_version. Please check files.json." + exit 1 fi echo -n "-----> Installing Minecraft ${minecraft_version}... " diff --git a/etc/files.json b/etc/files.json new file mode 100644 index 00000000..336ce3a1 --- /dev/null +++ b/etc/files.json @@ -0,0 +1,25 @@ +{ + "server": { + "1.18.1" : { + "url" : "https://launcher.mojang.com/v1/objects/3cf24a8694aca6267883b17d934efacc5e44440d/server.jar" + }, + "1.17.1" : { + "url" : "https://launcher.mojang.com/v1/objects/fc87ef4c3cf1c815809249cc00ccade233b22cf5/server.jar" + }, + "1.16.4" : { + "url": "https://launcher.mojang.com/v1/objects/35139deedbd5182953cf1caa23835da59ca3d7cd/server.jar" + }, + "1.16.3" : { + "url": "https://launcher.mojang.com/v1/objects/f02f4473dbf152c23d7d484952121db0b36698cb/server.jar" + }, + "1.15.1" : { + "url": "https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar" + }, + "20w51a": { + "url": "https://launcher.mojang.com/v1/objects/fc87ef4c3cf1c815809249cc00ccade233b22cf5/server.jar" + }, + "1.12.2": { + "url": "https://launcher.mojang.com/v1/objects/886945bfb2b978778c3a0288fd7fab09d315b25f/server.jar" + } + } +} From fbc8a1c2be59f46b908ea30d56d6cbfda629833f Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:26:25 -0600 Subject: [PATCH 12/21] Allow specific world name --- opt/sync | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/opt/sync b/opt/sync index 82f197f8..23dfd93d 100755 --- a/opt/sync +++ b/opt/sync @@ -1,5 +1,7 @@ #!/usr/bin/env bash +world_name="${WORLD_NAME:-default}" + if [ -n "$AWS_BUCKET" ]; then cat << EOF > .s3cfg [default] @@ -7,11 +9,11 @@ access_key = ${AWS_ACCESS_KEY} secret_key = ${AWS_SECRET_KEY} EOF if [ -d world ]; then - s3cmd sync world/ s3://${AWS_BUCKET}/world/ + s3cmd sync world/ s3://${AWS_BUCKET}/${WORLD_NAME}/world/ else mkdir -p world cd world - s3cmd get --recursive s3://${AWS_BUCKET}/world/ + s3cmd get --recursive s3://${AWS_BUCKET}/${WORLD_NAME}/world/ cd .. fi rm .s3cfg From 51ad73903572a5c7b9870a51fcea018c09b6bba3 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:31:38 -0600 Subject: [PATCH 13/21] java 11 --- system.properties | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 system.properties diff --git a/system.properties b/system.properties new file mode 100644 index 00000000..e69de29b From 01ddbc702c13fc701b6982e563660358cbbc53a0 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:33:28 -0600 Subject: [PATCH 14/21] java 11 --- server.properties | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 server.properties diff --git a/server.properties b/server.properties new file mode 100644 index 00000000..9126e582 --- /dev/null +++ b/server.properties @@ -0,0 +1,2 @@ +gamemode=1 +force-gamemode=true From 6324c5964e0da6101b182f4e07cf04f43436a3b0 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:35:42 -0600 Subject: [PATCH 15/21] java 11 --- system.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/system.properties b/system.properties index e69de29b..9146af53 100644 --- a/system.properties +++ b/system.properties @@ -0,0 +1 @@ +java.runtime.version=11 From e6feaf1b67afe843738e16d496a93ba00c7b96c8 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:38:43 -0600 Subject: [PATCH 16/21] java 17 --- system.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.properties b/system.properties index 9146af53..eafd676c 100644 --- a/system.properties +++ b/system.properties @@ -1 +1 @@ -java.runtime.version=11 +java.runtime.version=17 From c9cbc33dd8e04f0398c97c37a016533e3617e455 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:46:28 -0600 Subject: [PATCH 17/21] enforce-whitelist --- server.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/server.properties b/server.properties index 9126e582..91e30629 100644 --- a/server.properties +++ b/server.properties @@ -1,2 +1,3 @@ gamemode=1 force-gamemode=true +enforce-whitelist=true From 55063e010a682cc640a808876c209f3d41177318 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 17:49:51 -0600 Subject: [PATCH 18/21] enforce-whitelist --- server.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/server.properties b/server.properties index 91e30629..fb214e15 100644 --- a/server.properties +++ b/server.properties @@ -1,3 +1,4 @@ gamemode=1 force-gamemode=true enforce-whitelist=true +white-list=true From aa76f342aa134adefaecf0f893079f4273e1a98b Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sat, 4 Dec 2021 18:18:57 -0600 Subject: [PATCH 19/21] Improve logs and config --- ops.json | 7 ------- opt/index.rhtml | 6 +++++- server.properties | 4 ++-- whitelist.json | 6 ------ 4 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 ops.json delete mode 100644 whitelist.json diff --git a/ops.json b/ops.json deleted file mode 100644 index 0b932603..00000000 --- a/ops.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", - "name": "vader_cat", - "level": 4 - } -] \ No newline at end of file diff --git a/opt/index.rhtml b/opt/index.rhtml index 3ab7631c..c36630c4 100644 --- a/opt/index.rhtml +++ b/opt/index.rhtml @@ -1,6 +1,10 @@ <% open('ngrok.log') do |f| %> <% f.lines.select { |line| line.include?("URL:") }.each do |line| %> - Server available at: <%= line.match(/tcp:\/\/(.+:[0-9]+) /)[1] %> + <% if line.match(/tcp:\/\/(.+:[0-9]+) P/) %> + Server available at: <%= line.match(/tcp:\/\/(.+:[0-9]+) P/)[1] %> + <% else %> + Server available at: <%= line.match(/tcp:\/\/(.+:[0-9]+)/)[1] %> + <% end %>
<% end %> <% end %> diff --git a/server.properties b/server.properties index fb214e15..c7726474 100644 --- a/server.properties +++ b/server.properties @@ -1,4 +1,4 @@ gamemode=1 force-gamemode=true -enforce-whitelist=true -white-list=true +enforce-whitelist=false +white-list=false diff --git a/whitelist.json b/whitelist.json deleted file mode 100644 index 2fa712c7..00000000 --- a/whitelist.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "uuid": "04afe6dd-3144-4e4c-928e-e6220b8d7ba9", - "name": "vader_cat" - } -] \ No newline at end of file From af52cd0b853f42325abf22f7c8f7968f197bfe92 Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sun, 5 Dec 2021 12:55:37 -0600 Subject: [PATCH 20/21] Formatting and comments --- opt/index.rhtml | 5 +++-- opt/sync | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/opt/index.rhtml b/opt/index.rhtml index c36630c4..19078a58 100644 --- a/opt/index.rhtml +++ b/opt/index.rhtml @@ -1,9 +1,10 @@ <% open('ngrok.log') do |f| %> <% f.lines.select { |line| line.include?("URL:") }.each do |line| %> + Server available at: <% if line.match(/tcp:\/\/(.+:[0-9]+) P/) %> - Server available at: <%= line.match(/tcp:\/\/(.+:[0-9]+) P/)[1] %> + <%= line.match(/tcp:\/\/(.+:[0-9]+) P/)[1] %> <% else %> - Server available at: <%= line.match(/tcp:\/\/(.+:[0-9]+)/)[1] %> + <%= line.match(/tcp:\/\/(.+:[0-9]+)/)[1] %> <% end %>
<% end %> diff --git a/opt/sync b/opt/sync index 23dfd93d..6c4f8392 100755 --- a/opt/sync +++ b/opt/sync @@ -8,6 +8,8 @@ if [ -n "$AWS_BUCKET" ]; then access_key = ${AWS_ACCESS_KEY} secret_key = ${AWS_SECRET_KEY} EOF + # note: this won't work if level-name is set in server.properties + # todo: dynamically determine world/ dir if [ -d world ]; then s3cmd sync world/ s3://${AWS_BUCKET}/${WORLD_NAME}/world/ else From e38aa4e0ba682128cadce1499e4adcf6c8c6aa7b Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Sun, 5 Dec 2021 12:59:02 -0600 Subject: [PATCH 21/21] udpate readme --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7d6e84fa..79c98d86 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ $ git add eula.txt $ git commit -m "first commit" ``` -Then, install the [Heroku toolbelt](https://toolbelt.heroku.com/). +Then, install the [Heroku CLI](https://cli.heroku.com/). Create a Heroku app, set your ngrok token, and push: ```sh-session @@ -67,7 +67,7 @@ The buildpack will sync your world to the bucket every 60 seconds, but this is c The Minecraft server runs inside a `screen` session. You can use [Heroku Exec](https://devcenter.heroku.com/articles/heroku-exec) to connect to your server console. -Once you have Heroku Exec installed, you can connect to the console using +Once you have Heroku Exec installed, you can connect to the console using ``` $ heroku ps:exec @@ -76,7 +76,7 @@ Connecting to web.1 on ⬢ lovely-minecraft-2351... $ screen -r minecraft ``` -**WARNING** You are now connected to the Minecraft server. Use `Ctrl-A Ctrl-D` to exit the screen session. +**WARNING** You are now connected to the Minecraft server. Use `Ctrl-A Ctrl-D` to exit the screen session. (If you hit `Ctrl-C` while in the session, you'll terminate the Minecraft server.) ## Customizing @@ -94,7 +94,7 @@ $ heroku config:set NGROK_OPTS="--remote-addr 1.tcp.ngrok.io:25565" You can choose the Minecraft version by setting the MINECRAFT_VERSION like so: ``` -$ heroku config:set MINECRAFT_VERSION="1.8.3" +$ heroku config:set MINECRAFT_VERSION="1.18.1" ``` You can also configure the server properties by creating a `server.properties` @@ -104,3 +104,16 @@ described on the [Minecraft Wiki](http://minecraft.gamepedia.com/Server.properti You can add files such as `banned-players.json`, `banned-ips.json`, `ops.json`, `whitelist.json` to your Git repository and the Minecraft server will pick them up. + +### Adding New Minecraft Versions + +Please submit Pull Requests to [`etc/files.json`](https://github.com/jkutner/heroku-buildpack-minecraft/blob/master/etc/files.json) + +### Using the Buildpack from source + +If you want the bleeding edge version of this buildpack run: + +``` +$ heroku buildpacks:remove jkutner/minecraft +$ heroku buildpacks:add https://github.com/jkutner/heroku-buildpack-minecraft +```