Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Stat good jar
Browse files Browse the repository at this point in the history
  • Loading branch information
tclavier committed Feb 15, 2020
1 parent 662fa8d commit 52a4065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from debian:sid
from debian
env DEBIAN_FRONTEND noninteractive
run apt-get update && \
apt-get dist-upgrade -y && \
Expand All @@ -11,7 +11,7 @@ add https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact
workdir /opt/minecraft/

env MINECRAFT_VERSION=1.14.4
run java -jar BuildTools.jar --rev $MINECRAFT_VERSION --compile craftbukkit .
run java -jar BuildTools.jar --rev $MINECRAFT_VERSION --compile craftbukkit

env SCRIPTCRAFT_VERSION=3.4.0
add https://github.com/walterhiggins/ScriptCraft/releases/download/$SCRIPTCRAFT_VERSION/scriptcraft.jar /opt/minecraft/plugins/scriptcraft.jar
Expand Down
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ cd /minecraft
[ -n "${ONLINE_MODE:-}" ] && sed -i -e "s/^online-mode=.*/online-mode=$ONLINE_MODE/g" /minecraft/server.properties

/etc/init.d/ssh start
echo "jsp classroom on" | /usr/bin/java -Xmx8192M -jar Spigot/Spigot-Server/target/spigot-${MINECRAFT_VERSION}-R0.1-SNAPSHOT.jar
echo "jsp classroom on" | /usr/bin/java -Xmx8192M -jar CraftBukkit/target/craftbukkit-${MINECRAFT_VERSION}-R0.1-SNAPSHOT.jar

0 comments on commit 52a4065

Please sign in to comment.