Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- START_SERVER='java -jar craftbukkit.jar'
- # clear retval (paranoia from batch-world)
- echo
- while [ $? -eq 0 ]; do
- rm -r world/
- cp -R world_mod2 world
- $START_SERVER
- rm -r world/
- cp -R world_mod1 world
- $START_SERVER
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement