Advertisement
riking

Untitled

May 1st, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. START_SERVER='java -jar craftbukkit.jar'
  3.  
  4. # clear retval (paranoia from batch-world)
  5. echo
  6. while [ $? -eq 0 ]; do
  7.     rm -r world/
  8.     cp -R world_mod2 world
  9.     $START_SERVER
  10.     rm -r world/
  11.     cp -R world_mod1 world
  12.     $START_SERVER
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement