Added isPlayer check on commands