Don't like ads? PRO users don't see any ads ;-)
Guest

endreset.sh

By: a guest on Apr 25th, 2012  |  syntax: Bash  |  size: 0.31 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/bash
  2. set -e
  3. cd $(dirname $0)
  4. world=world_the_end
  5. rm -fv \
  6. $world/level.dat \
  7. $world/level.dat_old \
  8. $world/uid.dat \
  9. $world/DIM1/region/r.0.0.mca \
  10. $world/DIM1/region/r.-1.0.mca \
  11. $world/DIM1/region/r.0.-1.mca \
  12. $world/DIM1/region/r.-1.-1.mca
  13. echo -e '\033[1;34mThe end has been reset\033[0m'