i forgor to update it on github
This commit is contained in:
parent
fe4c3482f4
commit
4476ad6504
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
### smashed together by [ayunami2000](https://github.com/ayunami2000)
|
### smashed together by [ayunami2000](https://github.com/ayunami2000)
|
||||||
|
|
||||||
|
**THIS REPLIT USES [PluginInstaller](https://github.com/darverdevs/PluginInstaller)**
|
||||||
|
|
||||||
## Helpful video tutorial by a generous user
|
## Helpful video tutorial by a generous user
|
||||||
motd changing is DIFFERENT than what these tutorials say!! -- check the `java/bungee_command/config.yml` for how to change (motd1 is first line, motd2 (you can add this) is the 2nd one)
|
motd changing is DIFFERENT than what these tutorials say!! -- check the `java/bungee_command/config.yml` for how to change (motd1 is first line, motd2 (you can add this) is the 2nd one)
|
||||||
|
|
||||||
|
|
17
main.sh
17
main.sh
|
@ -50,7 +50,9 @@ else
|
||||||
curl -L -o stable-download.zip "$eagurl"
|
curl -L -o stable-download.zip "$eagurl"
|
||||||
echo extracting zip...
|
echo extracting zip...
|
||||||
mkdir /tmp/new
|
mkdir /tmp/new
|
||||||
unzip stable-download.zip -d /tmp/new
|
cd /tmp/new
|
||||||
|
jar xvf $HOME/$REPL_SLUG/stable-download.zip
|
||||||
|
cd $HOME/$REPL_SLUG
|
||||||
echo deleting original zip file...
|
echo deleting original zip file...
|
||||||
rm -rf stable-download.zip
|
rm -rf stable-download.zip
|
||||||
mkdir web
|
mkdir web
|
||||||
|
@ -116,6 +118,19 @@ rm -rf nginx.conf
|
||||||
sed "s/eaglercraft-server/$REPL_SLUG/" nginx_template.conf > nginx.conf
|
sed "s/eaglercraft-server/$REPL_SLUG/" nginx_template.conf > nginx.conf
|
||||||
nginx -c ~/$REPL_SLUG/nginx.conf -g 'daemon off; pid /tmp/nginx/nginx.pid;' -p /tmp/nginx -e /tmp/nginx/error.log > /tmp/nginx/output.log 2>&1 &
|
nginx -c ~/$REPL_SLUG/nginx.conf -g 'daemon off; pid /tmp/nginx/nginx.pid;' -p /tmp/nginx -e /tmp/nginx/error.log > /tmp/nginx/output.log 2>&1 &
|
||||||
|
|
||||||
|
if [ -f "base.repl" ] && ! { [ "$REPL_OWNER" == "ayunami2000" ] && [ "$REPL_SLUG" == "eaglercraft-server" ]; };
|
||||||
|
then
|
||||||
|
echo resetting world and randomizing seed...
|
||||||
|
rm base.repl
|
||||||
|
rm -rf java/bukkit_command/world
|
||||||
|
rm -rf java/bukkit_command/world_nether
|
||||||
|
rm -rf java/bukkit_command/world_the_end
|
||||||
|
rm -f java/bukkit_command/server.log.lck
|
||||||
|
rm java/bukkit_command/server.log
|
||||||
|
rm -f java/bungee_command/proxy.log.0.lck
|
||||||
|
rm java/bungee_command/proxy.log.0
|
||||||
|
fi
|
||||||
|
|
||||||
echo starting bukkit...
|
echo starting bukkit...
|
||||||
cd java/bukkit_command
|
cd java/bukkit_command
|
||||||
java -Xmx512M -Xms512M -jar craftbukkit-1.5.2-R1.0.jar
|
java -Xmx512M -Xms512M -jar craftbukkit-1.5.2-R1.0.jar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user