Trying and failing to get Purugin working
This commit is contained in:
parent
d246e8fa17
commit
0a4dc842c6
5
bukkit/.gitignore
vendored
5
bukkit/.gitignore
vendored
@ -16,3 +16,8 @@ world/
|
|||||||
world_nether/
|
world_nether/
|
||||||
world_the_end/
|
world_the_end/
|
||||||
plugins/
|
plugins/
|
||||||
|
jruby-complete.jar
|
||||||
|
banned-ips.txt
|
||||||
|
banned-players.txt
|
||||||
|
ops.txt
|
||||||
|
white-list.txt
|
||||||
|
@ -1,14 +1,36 @@
|
|||||||
CRAFTBUKKIT_VERSION := 1.8.3-R0.1-SNAPSHOT-latest
|
CRAFTBUKKIT_VERSION := 1.7.2-R0.2
|
||||||
|
CRAFTBUKKIT_FULL_VERSION := 1.7.2-R0.4-20140216.012104-3
|
||||||
|
PURUGIN_VERSION := 0.7.1
|
||||||
|
DEPS := \
|
||||||
|
craftbukkit.jar \
|
||||||
|
eula.txt \
|
||||||
|
plugins/Purugin.jar \
|
||||||
|
jruby-complete.jar
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: deps
|
all: deps
|
||||||
|
|
||||||
.PHONY: deps
|
.PHONY: deps
|
||||||
deps: craftbukkit.jar eula.txt
|
deps: $(DEPS)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -vf $(DEPS)
|
||||||
|
|
||||||
craftbukkit.jar:
|
craftbukkit.jar:
|
||||||
curl -SL --progress -o $@ \
|
curl -SL --progress -o $@ \
|
||||||
http://tcpr.ca/download/craftbukkit/craftbukkit-$(CRAFTBUKKIT_VERSION).jar
|
http://tcpr.ca/download/craftbukkit/craftbukkit-$(CRAFTBUKKIT_FULL_VERSION).jar
|
||||||
|
|
||||||
eula.txt:
|
eula.txt:
|
||||||
echo "eula=true" > $@
|
echo "eula=true" > $@
|
||||||
|
|
||||||
|
plugins/Purugin.jar: plugins
|
||||||
|
curl -SL --progress -o $@ \
|
||||||
|
http://dev.bukkit.org/media/files/765/560/purugin-$(PURUGIN_VERSION)-bukkit-$(CRAFTBUKKIT_VERSION).jar
|
||||||
|
|
||||||
|
plugins:
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
|
jruby-complete.jar:
|
||||||
|
curl -SL --progress -o $@ \
|
||||||
|
https://s3.amazonaws.com/jruby.org/downloads/1.7.19/jruby-complete-1.7.19.jar
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
||||||
: ${JAVA_OPTS:=-Xmx1G}
|
|
||||||
: ${BUKKIT_ARGS:=-o true}
|
|
||||||
|
|
||||||
TOP=$(dirname ${BASH_SOURCE[0]})
|
TOP=$(dirname ${BASH_SOURCE[0]})
|
||||||
cd "${TOP}"
|
cd "${TOP}"
|
||||||
|
|
||||||
|
: ${JAVA_OPTS:=-Xmx1G -cp "${TOP}/jruby-complete.jar"}
|
||||||
|
: ${BUKKIT_ARGS:=-o true}
|
||||||
|
: ${GEM_HOME:=${TOP}/gems}
|
||||||
|
|
||||||
|
set -x
|
||||||
exec java ${JAVA_OPTS} -jar "${TOP}/craftbukkit.jar" ${BUKKIT_ARGS}
|
exec java ${JAVA_OPTS} -jar "${TOP}/craftbukkit.jar" ${BUKKIT_ARGS}
|
||||||
|
Loading…
Reference in New Issue
Block a user