API for adding minecraft commands