Author: injate <injate@gmail.com>     Reply to Message
Date: 12/20/2010 1:23:44 PM
Subject: RE: MINECRAFT IS BETA!! - SERVER NEEDS UPDATE

I didn't, i automated it.

server_launch() {
echo "Launching minecraft server..."
if [ $CPFIX -eq 1 ] ; then
cd $MC_PATH; cp -pf lockedChests.txt save_lockedChests.txt
fi
if [ $SERVERMOD -eq 1 ]
then
cd $MC_PATH; screen -m -d -S $SCREEN_NAME java -Xmx${MEMALOC}M -Xms${MEMALOC}M -Djava.net.preferIPv4Stack=true -jar Minecraft_Mod.jar nogui; sleep 1
else
cd $MC_PATH; screen -m -d -S $SCREEN_NAME java -Xmx${MEMALOC}M -Xms${MEMALOC}M -Djava.net.preferIPv4Stack=true -jar minecraft_server.jar nogui; sleep 1
fi
if [ $CPFIX -eq 1 ] ; then
cd $MC_PATH; cp -pf save_lockedChests.txt lockedChests.txt
fi
}
_