Preheat oven to 400 degrees F. Cut chicken legs in half. Cut chicken breasts in quarters. Set chicken on a baking tray. Sprinkle with 5-spice powder and salt and pepper, rubbing it on to the skin. Bake chicken 30 minutes, and then brush with plum sauce. Place rice on to cook before putting the chicken back in the oven to bake 20 minutes more, or until cooked through. To cook rice, place it and water in a pot and bring to a rapid boil. Lower heat to its lowest setting, cover and cook 20 minutes, or until tender. When chicken is almost cooked, heat oil in a large skillet set over medium-high heat. Add onions, peppers, and carrots and stir-fry 2 to 3 minutes. Add pineapple, pineapple juice and teriyaki/cornstarch mixture and cook until a thickened sauce forms around the vegetables. Divide rice among 4 heated bowls. Top with vegetables. Arrange chicken pieces on top and serve.