View difference between Paste ID: iGZ8PF09 and 7EPeLCD9
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2
START_SERVER='java -jar craftbukkit.jar'
3
4-
while $START_SERVER; do
4+
while true; do
5
    $START_SERVER
6-
    cp -R world_bak world
6+
7
    cp -R world_mod1 world
8
    $START_SERVER
9
    rm -r world/
10
    cp -R world_mod2 world
11
done