changed doCommand in the CommandPlugin to take vargs instead of an array