added a config flag and lua command to disable battles.