convert to bukkit plugin