#!/bin/bash
abmdir=/minecraft/Ascii-Bukkit-Menu
functions="$abmdir/include/scripts/functions.sh"
vars="$abmdir/include/config/vars"
abmconfig="$abmdir/include/config/abm.conf"

source $functions
source $vars
source $abmconfig

# Trap ctrl+c and do cleanup.
trap ctrl_c INT

# Put somthing into log window so its not empty.
# Watch Bukkit Log in screen window Bukkit_Log
if [ ! -f "$slog" ]; then
	touch "$slog"
	echo "Server log not found, creating one.." >> "$slog"
	tail -f "$slog"
else
tail -f "$slog"
fi